home *** CD-ROM | disk | FTP | other *** search
/ BBS in a Box 12 / BBS in a box XII-1.iso / Files / Tele / Internet / HTML edit 1.1.sit / HTML.edit 1.1 ƒ / HTML.edit v1.1 < prev    next >
MacOS Executable  |  1994-05-04  |  994.8 KB  |  [APPL/HTMe]

open in: MacOS 8.1     |     Win98     |     DOS

view JSON data     |     view as text

This file was processed as: MacOS Executable (executable/macOSExecutable).

You can browse this item here: HTML.edit v1.1

ConfidenceProgramDetectionMatch TypeSupport
100% dexvert MacOS Executable (executable/macOSExecutable) magic Supported
10% dexvert MacBinary (archive/macBinary) fallback Supported
1% dexvert PageFocus Data (other/pageFocusData) ext Unsupported
1% dexvert Banyans VINES patch data (other/banyansVINESPatchData) ext Unsupported
100% file MacBinary II, inited, Wed May 4 23:31:21 1994, modified Wed May 4 23:31:21 1994, creator 'HTMe', type application, 180224 bytes "HTML.edit v1.1" , at 0x2c080 838152 bytes resource default (weak)
99% file data default
74% TrID Macintosh Application (MacBinary) default
25% TrID MacBinary 2 default (weak)
100% siegfried fmt/1762 MacBinary (II) default
100% lsar MacBinary default


id metadata
keyvalue
macFileType[APPL]
macFileCreator[HTMe]



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 0e 48 54 4d 4c 2e 65 | 64 69 74 20 76 31 2e 31 |..HTML.e|dit v1.1|
|00000010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 41 50 50 4c 48 54 4d | 65 01 00 00 00 00 00 00 |.APPLHTM|e.......|
|00000050| 00 00 00 00 02 c0 00 00 | 0c ca 08 a9 ee 19 09 a9 |........|........|
|00000060| ee 19 09 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 cc 9d 00 00 |........|........|
|00000080| 00 00 52 00 53 54 41 4b | ff ff ff ff 00 00 00 00 |..R.STAK|........|
|00000090| 00 00 00 0a 00 02 c0 00 | 00 00 52 00 00 00 00 00 |........|..R.....|
|000000a0| 00 00 00 00 00 00 00 02 | 00 00 15 a3 00 00 00 05 |........|........|
|000000b0| 00 00 08 f4 00 00 0a 1f | 00 00 00 02 00 00 19 60 |........|.......`|
|000000c0| 00 00 16 78 00 00 00 00 | 00 05 00 00 10 00 00 00 |...x....|........|
|000000d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000e0| 02 20 80 00 01 10 80 34 | 01 10 80 34 01 10 80 34 |. .....4|...4...4|
|000000f0| dd d0 1a f1 00 00 00 00 | 00 72 00 a0 01 c8 02 a0 |........|.r......|
|00000100| 00 00 00 00 03 66 04 80 | 00 00 00 00 00 00 00 00 |.....f..|........|
|00000110| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000120| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000130| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000140| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000150| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000160| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000170| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000180| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000190| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000200| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000210| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000220| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000230| 00 00 0d 12 00 00 0c 10 | 02 80 02 80 00 00 00 00 |........|........|
|00000240| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000250| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000260| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000270| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000280| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000290| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000300| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000310| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000320| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000330| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000340| 00 00 00 00 00 00 00 00 | 80 00 00 00 08 00 00 00 |........|........|
|00000350| 88 00 22 00 88 00 22 00 | 88 88 22 22 88 88 22 22 |.."...".|..""..""|
|00000360| 88 aa 22 aa 88 aa 22 aa | cc aa 33 aa cc aa 33 aa |.."...".|..3...3.|
|00000370| ee aa bb aa ee aa bb aa | ee bb bb ee ee bb bb ee |........|........|
|00000380| ff bb ff ee ff bb ff ee | ff bb ff ff ff bb ff ff |........|........|
|00000390| 80 10 02 20 01 08 40 04 | ff ff ff ff ff ff ff ff |... ..@.|........|
|000003a0| 88 22 88 22 88 22 88 22 | 11 22 44 88 11 22 44 88 |."."."."|."D.."D.|
|000003b0| c4 80 0c 68 43 02 30 26 | b1 30 03 1b d8 c0 0c 8d |...hC.0&|.0......|
|000003c0| aa 00 aa 00 aa 00 aa 00 | 88 22 55 22 88 22 55 22 |........|."U"."U"|
|000003d0| 88 55 22 55 88 55 22 55 | 77 dd 77 dd 77 dd 77 dd |.U"U.U"U|w.w.w.w.|
|000003e0| 80 00 00 00 00 00 00 00 | aa 55 aa 55 aa 55 aa 55 |........|.U.U.U.U|
|000003f0| 03 84 48 30 0c 02 01 01 | 82 44 39 44 82 01 01 01 |..H0....|.D9D....|
|00000400| 88 14 22 41 88 41 22 14 | 80 80 41 3e 08 08 14 e3 |.."A.A".|..A>....|
|00000410| 22 04 8c 74 22 17 98 10 | be 80 88 08 eb 08 88 80 |"..t"...|........|
|00000420| 25 c8 32 89 64 24 4c 92 | a2 9c 41 be 2a c9 14 eb |%.2.d$L.|..A.*...|
|00000430| 40 a0 00 00 04 0a 00 00 | 80 40 20 00 02 04 08 00 |@.......|.@ .....|
|00000440| aa 00 80 00 88 00 80 00 | ff 80 80 80 80 80 80 80 |........|........|
|00000450| 08 1c 22 c1 80 01 02 04 | ff 80 80 80 ff 08 08 08 |..".....|........|
|00000460| f8 74 22 47 8f 17 22 71 | bf 00 bf bf b0 b0 b0 b0 |.t"G.."q|........|
|00000470| ff 7f be 5d a2 41 80 00 | fa f5 fa f5 a0 50 a0 50 |...].A..|.....P.P|
|00000480| 00 02 a2 60 00 00 00 20 | 00 02 a6 a0 00 00 19 40 |...`... |.......@|
|00000490| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000500| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000510| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000520| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000530| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000540| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000550| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000560| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000570| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000580| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000590| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000600| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000610| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000620| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000630| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000640| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000650| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000660| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000670| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000680| 2d 2d 20 48 54 4d 4c 2e | 65 64 69 74 20 76 65 72 |-- HTML.|edit ver|
|00000690| 73 69 6f 6e 20 31 2e 31 | 20 63 6f 70 79 72 69 67 |sion 1.1| copyrig|
|000006a0| 68 74 20 31 39 39 34 20 | 62 79 20 4d 75 72 72 61 |ht 1994 |by Murra|
|000006b0| 79 20 4d 2e 20 41 6c 74 | 68 65 69 6d 0d 0d 6f 6e |y M. Alt|heim..on|
|000006c0| 20 73 74 61 72 74 75 70 | 0d 68 69 64 65 20 73 63 | startup|.hide sc|
|000006d0| 72 6f 6c 6c 20 77 69 6e | 64 6f 77 0d 73 68 6f 77 |roll win|dow.show|
|000006e0| 41 62 6f 75 74 20 33 0d | 73 65 74 4d 65 6e 75 73 |About 3.|setMenus|
|000006f0| 0d 63 68 65 63 6b 46 6f | 72 4d 69 73 73 69 6e 67 |.checkFo|rMissing|
|00000700| 46 6f 6e 74 20 22 46 75 | 74 75 72 61 22 20 2d 2d |Font "Fu|tura" --|
|00000710| 20 69 6e 66 6f 72 6d 20 | 75 73 65 72 20 6f 66 20 | inform |user of |
|00000720| 6d 69 73 73 69 6e 67 20 | 66 6f 6e 74 20 22 46 75 |missing |font "Fu|
|00000730| 74 75 72 61 22 0d 70 61 | 73 73 20 73 74 61 72 74 |tura".pa|ss start|
|00000740| 75 70 0d 65 6e 64 20 73 | 74 61 72 74 75 70 0d 0d |up.end s|tartup..|
|00000750| 6f 6e 20 73 65 74 4d 65 | 6e 75 73 0d 6c 6f 63 6b |on setMe|nus.lock|
|00000760| 20 73 63 72 65 65 6e 0d | 73 65 74 20 74 68 65 20 | screen.|set the |
|00000770| 6e 61 6d 65 20 6f 66 20 | 6d 65 6e 75 49 74 65 6d |name of |menuItem|
|00000780| 20 31 20 6f 66 20 6d 65 | 6e 75 20 22 41 70 70 6c | 1 of me|nu "Appl|
|00000790| 65 22 20 74 6f 20 22 41 | 62 6f 75 74 20 48 54 4d |e" to "A|bout HTM|
|000007a0| 4c 2e 65 64 69 74 c9 22 | 0d 73 65 74 20 74 68 65 |L.edit."|.set the|
|000007b0| 20 6d 65 6e 75 4d 65 73 | 73 61 67 65 20 6f 66 20 | menuMes|sage of |
|000007c0| 6d 65 6e 75 49 74 65 6d | 20 31 20 6f 66 20 6d 65 |menuItem| 1 of me|
|000007d0| 6e 75 20 22 41 70 70 6c | 65 22 20 74 6f 20 73 68 |nu "Appl|e" to sh|
|000007e0| 6f 77 41 62 6f 75 74 0d | 70 75 74 20 22 4e 65 77 |owAbout.|put "New|
|000007f0| 20 44 6f 63 75 6d 65 6e | 74 22 20 69 6e 74 6f 20 | Documen|t" into |
|00000800| 6d 65 6e 75 49 74 65 6d | 20 31 20 6f 66 20 6d 65 |menuItem| 1 of me|
|00000810| 6e 75 20 22 46 69 6c 65 | 22 0d 70 75 74 20 22 49 |nu "File|".put "I|
|00000820| 6d 70 6f 72 74 20 44 6f | 63 75 6d 65 6e 74 22 20 |mport Do|cument" |
|00000830| 69 6e 74 6f 20 6d 65 6e | 75 49 74 65 6d 20 32 20 |into men|uItem 2 |
|00000840| 6f 66 20 6d 65 6e 75 20 | 22 46 69 6c 65 22 0d 70 |of menu |"File".p|
|00000850| 75 74 20 22 45 78 70 6f | 72 74 20 44 6f 63 75 6d |ut "Expo|rt Docum|
|00000860| 65 6e 74 22 20 69 6e 74 | 6f 20 6d 65 6e 75 49 74 |ent" int|o menuIt|
|00000870| 65 6d 20 33 20 6f 66 20 | 6d 65 6e 75 20 22 46 69 |em 3 of |menu "Fi|
|00000880| 6c 65 22 0d 70 75 74 20 | 22 51 75 69 74 20 48 54 |le".put |"Quit HT|
|00000890| 4d 4c 2e 65 64 69 74 22 | 20 69 6e 74 6f 20 6c 61 |ML.edit"| into la|
|000008a0| 73 74 20 6d 65 6e 75 49 | 74 65 6d 20 6f 66 20 6d |st menuI|tem of m|
|000008b0| 65 6e 75 20 22 46 69 6c | 65 22 0d 65 6e 61 62 6c |enu "Fil|e".enabl|
|000008c0| 65 20 66 69 72 73 74 20 | 6d 65 6e 75 49 74 65 6d |e first |menuItem|
|000008d0| 20 6f 66 20 6d 65 6e 75 | 20 22 46 69 6c 65 22 0d | of menu| "File".|
|000008e0| 65 6e 61 62 6c 65 20 73 | 65 63 6f 6e 64 20 6d 65 |enable s|econd me|
|000008f0| 6e 75 49 74 65 6d 20 6f | 66 20 6d 65 6e 75 20 22 |nuItem o|f menu "|
|00000900| 46 69 6c 65 22 0d 64 69 | 73 61 62 6c 65 20 74 68 |File".di|sable th|
|00000910| 69 72 64 20 6d 65 6e 75 | 49 74 65 6d 20 6f 66 20 |ird menu|Item of |
|00000920| 6d 65 6e 75 20 22 46 69 | 6c 65 22 0d 73 65 74 20 |menu "Fi|le".set |
|00000930| 74 68 65 20 6d 65 6e 75 | 4d 65 73 73 61 67 65 20 |the menu|Message |
|00000940| 6f 66 20 6d 65 6e 75 49 | 74 65 6d 20 31 20 6f 66 |of menuI|tem 1 of|
|00000950| 20 6d 65 6e 75 20 22 46 | 69 6c 65 22 20 74 6f 20 | menu "F|ile" to |
|00000960| 6e 65 77 44 6f 63 75 6d | 65 6e 74 0d 73 65 74 20 |newDocum|ent.set |
|00000970| 74 68 65 20 6d 65 6e 75 | 4d 65 73 73 61 67 65 20 |the menu|Message |
|00000980| 6f 66 20 6d 65 6e 75 49 | 74 65 6d 20 32 20 6f 66 |of menuI|tem 2 of|
|00000990| 20 6d 65 6e 75 20 22 46 | 69 6c 65 22 20 74 6f 20 | menu "F|ile" to |
|000009a0| 69 6d 70 6f 72 74 48 54 | 4d 4c 0d 73 65 74 20 74 |importHT|ML.set t|
|000009b0| 68 65 20 6d 65 6e 75 4d | 65 73 73 61 67 65 20 6f |he menuM|essage o|
|000009c0| 66 20 6d 65 6e 75 49 74 | 65 6d 20 33 20 6f 66 20 |f menuIt|em 3 of |
|000009d0| 6d 65 6e 75 20 22 46 69 | 6c 65 22 20 74 6f 20 65 |menu "Fi|le" to e|
|000009e0| 78 70 6f 72 74 48 54 4d | 4c 0d 73 65 74 20 74 68 |xportHTM|L.set th|
|000009f0| 65 20 6d 65 6e 75 4d 65 | 73 73 61 67 65 20 6f 66 |e menuMe|ssage of|
|00000a00| 20 6c 61 73 74 20 6d 65 | 6e 75 49 74 65 6d 20 6f | last me|nuItem o|
|00000a10| 66 20 6d 65 6e 75 20 22 | 46 69 6c 65 22 20 74 6f |f menu "|File" to|
|00000a20| 20 22 64 6f 4d 65 6e 75 | 22 26 26 71 75 6f 74 65 | "doMenu|"&&quote|
|00000a30| 26 22 51 75 69 74 20 48 | 79 70 65 72 43 61 72 64 |&"Quit H|yperCard|
|00000a40| 22 26 71 75 6f 74 65 0d | 73 65 74 20 74 68 65 20 |"&quote.|set the |
|00000a50| 63 6f 6d 6d 61 6e 64 43 | 68 61 72 20 6f 66 20 6d |commandC|har of m|
|00000a60| 65 6e 75 49 74 65 6d 20 | 31 20 6f 66 20 6d 65 6e |enuItem |1 of men|
|00000a70| 75 20 22 46 69 6c 65 22 | 20 74 6f 20 22 4e 22 0d |u "File"| to "N".|
|00000a80| 73 65 74 20 74 68 65 20 | 63 6f 6d 6d 61 6e 64 43 |set the |commandC|
|00000a90| 68 61 72 20 6f 66 20 6d | 65 6e 75 49 74 65 6d 20 |har of m|enuItem |
|00000aa0| 32 20 6f 66 20 6d 65 6e | 75 20 22 46 69 6c 65 22 |2 of men|u "File"|
|00000ab0| 20 74 6f 20 22 4f 22 0d | 73 65 74 20 74 68 65 20 | to "O".|set the |
|00000ac0| 63 6f 6d 6d 61 6e 64 43 | 68 61 72 20 6f 66 20 6d |commandC|har of m|
|00000ad0| 65 6e 75 49 74 65 6d 20 | 33 20 6f 66 20 6d 65 6e |enuItem |3 of men|
|00000ae0| 75 20 22 46 69 6c 65 22 | 20 74 6f 20 22 53 22 0d |u "File"| to "S".|
|00000af0| 73 65 74 20 74 68 65 20 | 63 6f 6d 6d 61 6e 64 43 |set the |commandC|
|00000b00| 68 61 72 20 6f 66 20 6c | 61 73 74 20 6d 65 6e 75 |har of l|ast menu|
|00000b10| 49 74 65 6d 20 6f 66 20 | 6d 65 6e 75 20 22 46 69 |Item of |menu "Fi|
|00000b20| 6c 65 22 20 74 6f 20 22 | 51 22 0d 75 6e 6c 6f 63 |le" to "|Q".unloc|
|00000b30| 6b 20 73 63 72 65 65 6e | 0d 65 6e 64 20 73 65 74 |k screen|.end set|
|00000b40| 4d 65 6e 75 73 0d 0d 6f | 6e 20 6f 70 65 6e 53 74 |Menus..o|n openSt|
|00000b50| 61 63 6b 0d 67 6c 6f 62 | 61 6c 20 75 73 65 48 54 |ack.glob|al useHT|
|00000b60| 4d 4c 52 65 74 75 72 6e | 2c 75 73 65 43 6f 6d 6d |MLReturn|,useComm|
|00000b70| 65 6e 74 46 6c 64 2c 69 | 6e 64 65 78 65 64 2c 69 |entFld,i|ndexed,i|
|00000b80| 6e 64 65 78 55 70 64 61 | 74 65 64 2c 61 75 74 6f |ndexUpda|ted,auto|
|00000b90| 54 6f 6f 6c 73 0d 67 6c | 6f 62 61 6c 20 48 54 4d |Tools.gl|obal HTM|
|00000ba0| 4c 54 6f 6f 6c 73 57 65 | 72 65 56 69 7a 2c 48 54 |LToolsWe|reViz,HT|
|00000bb0| 4d 4c 43 6f 6c 6f 72 54 | 6f 6f 6c 73 57 65 72 65 |MLColorT|oolsWere|
|00000bc0| 56 69 7a 2c 74 6f 6f 6c | 73 57 65 72 65 56 69 7a |Viz,tool|sWereViz|
|00000bd0| 2c 70 61 74 73 57 65 72 | 65 56 69 7a 2c 6d 73 67 |,patsWer|eViz,msg|
|00000be0| 57 61 73 56 69 7a 0d 67 | 6c 6f 62 61 6c 20 66 69 |WasViz.g|lobal fi|
|00000bf0| 6c 65 43 72 65 61 74 6f | 72 2c 64 61 74 65 46 6f |leCreato|r,dateFo|
|00000c00| 72 6d 61 74 2c 77 72 61 | 70 54 65 78 74 2c 61 75 |rmat,wra|pText,au|
|00000c10| 74 6f 43 6f 6d 70 61 63 | 74 2c 63 6f 6d 70 61 63 |toCompac|t,compac|
|00000c20| 74 54 68 72 65 73 68 6f | 6c 64 0d 70 75 74 20 74 |tThresho|ld.put t|
|00000c30| 68 65 20 68 69 6c 69 74 | 65 20 6f 66 20 63 64 20 |he hilit|e of cd |
|00000c40| 62 74 6e 20 69 64 20 34 | 20 6f 66 20 63 64 20 22 |btn id 4| of cd "|
|00000c50| 50 72 65 66 65 72 65 6e | 63 65 73 22 20 69 6e 74 |Preferen|ces" int|
|00000c60| 6f 20 75 73 65 48 54 4d | 4c 52 65 74 75 72 6e 20 |o useHTM|LReturn |
|00000c70| 2d 2d 20 6f 70 74 69 6f | 6e 2d 52 65 74 75 72 6e |-- optio|n-Return|
|00000c80| 20 3d 20 3c 50 3e 0d 73 | 65 74 20 74 68 65 20 74 | = <P>.s|et the t|
|00000c90| 65 78 74 41 72 72 6f 77 | 73 20 74 6f 20 68 69 6c |extArrow|s to hil|
|00000ca0| 69 74 65 20 6f 66 20 63 | 64 20 62 74 6e 20 69 64 |ite of c|d btn id|
|00000cb0| 20 35 20 6f 66 20 63 64 | 20 22 50 72 65 66 65 72 | 5 of cd| "Prefer|
|00000cc0| 65 6e 63 65 73 22 20 2d | 2d 20 41 72 72 6f 77 20 |ences" -|- Arrow |
|00000cd0| 6b 65 79 73 20 69 6e 20 | 74 65 78 74 0d 70 75 74 |keys in |text.put|
|00000ce0| 20 74 68 65 20 68 69 6c | 69 74 65 20 6f 66 20 63 | the hil|ite of c|
|00000cf0| 64 20 62 74 6e 20 69 64 | 20 31 37 20 6f 66 20 63 |d btn id| 17 of c|
|00000d00| 64 20 22 50 72 65 66 65 | 72 65 6e 63 65 73 22 20 |d "Prefe|rences" |
|00000d10| 69 6e 74 6f 20 77 72 61 | 70 54 65 78 74 20 2d 2d |into wra|pText --|
|00000d20| 20 77 72 61 70 20 65 64 | 69 74 6f 72 20 74 65 78 | wrap ed|itor tex|
|00000d30| 74 0d 70 75 74 20 74 68 | 65 20 68 69 6c 69 74 65 |t.put th|e hilite|
|00000d40| 20 6f 66 20 63 64 20 62 | 74 6e 20 69 64 20 36 20 | of cd b|tn id 6 |
|00000d50| 6f 66 20 63 64 20 22 50 | 72 65 66 65 72 65 6e 63 |of cd "P|referenc|
|00000d60| 65 73 22 20 69 6e 74 6f | 20 61 75 74 6f 54 6f 6f |es" into| autoToo|
|00000d70| 6c 73 20 2d 2d 20 6f 70 | 74 69 6f 6e 2d 52 65 74 |ls -- op|tion-Ret|
|00000d80| 75 72 6e 20 3d 20 3c 50 | 3e 0d 70 75 74 20 74 68 |urn = <P|>.put th|
|00000d90| 65 20 68 69 6c 69 74 65 | 20 6f 66 20 63 64 20 62 |e hilite| of cd b|
|00000da0| 74 6e 20 69 64 20 39 20 | 6f 66 20 63 64 20 22 50 |tn id 9 |of cd "P|
|00000db0| 72 65 66 65 72 65 6e 63 | 65 73 22 20 69 6e 74 6f |referenc|es" into|
|00000dc0| 20 61 75 74 6f 43 6f 6d | 70 61 63 74 20 2d 2d 20 | autoCom|pact -- |
|00000dd0| 63 6f 6d 70 61 63 74 20 | 73 74 61 63 6b 20 6f 6e |compact |stack on|
|00000de0| 20 71 75 69 74 0d 70 75 | 74 20 63 64 20 66 6c 64 | quit.pu|t cd fld|
|00000df0| 20 22 66 69 6c 65 43 72 | 65 61 74 6f 72 22 20 6f | "fileCr|eator" o|
|00000e00| 66 20 63 64 20 22 50 72 | 65 66 65 72 65 6e 63 65 |f cd "Pr|eference|
|00000e10| 73 22 20 69 6e 74 6f 20 | 66 69 6c 65 43 72 65 61 |s" into |fileCrea|
|00000e20| 74 6f 72 20 2d 2d 20 63 | 72 65 61 74 6f 72 20 66 |tor -- c|reator f|
|00000e30| 6f 72 20 65 78 70 6f 72 | 74 0d 70 75 74 20 73 65 |or expor|t.put se|
|00000e40| 74 43 6f 6d 70 61 63 74 | 54 68 72 65 73 68 6f 6c |tCompact|Threshol|
|00000e50| 64 28 29 20 69 6e 74 6f | 20 63 6f 6d 70 61 63 74 |d() into| compact|
|00000e60| 54 68 72 65 73 68 6f 6c | 64 20 2d 2d 20 63 6f 6d |Threshol|d -- com|
|00000e70| 70 61 63 74 20 73 74 61 | 63 6b 20 69 66 20 66 72 |pact sta|ck if fr|
|00000e80| 65 65 53 69 7a 65 20 3e | 20 74 68 72 65 73 68 6f |eeSize >| thresho|
|00000e90| 6c 64 0d 70 75 74 20 74 | 68 65 20 73 68 6f 72 74 |ld.put t|he short|
|00000ea0| 20 6e 61 6d 65 20 6f 66 | 20 63 64 20 62 74 6e 20 | name of| cd btn |
|00000eb0| 69 64 20 35 38 20 6f 66 | 20 63 64 20 22 6d 61 73 |id 58 of| cd "mas|
|00000ec0| 74 65 72 46 6f 6f 74 65 | 72 73 22 20 69 6e 74 6f |terFoote|rs" into|
|00000ed0| 20 64 61 74 65 46 6f 72 | 6d 61 74 20 2d 2d 20 66 | dateFor|mat -- f|
|00000ee0| 6f 72 6d 61 74 20 6f 66 | 20 64 61 74 65 20 73 74 |ormat of| date st|
|00000ef0| 72 69 6e 67 0d 70 75 74 | 20 46 41 4c 53 45 20 69 |ring.put| FALSE i|
|00000f00| 6e 74 6f 20 48 54 4d 4c | 54 6f 6f 6c 73 57 65 72 |nto HTML|ToolsWer|
|00000f10| 65 56 69 7a 0d 70 75 74 | 20 46 41 4c 53 45 20 69 |eViz.put| FALSE i|
|00000f20| 6e 74 6f 20 48 54 4d 4c | 43 6f 6c 6f 72 54 6f 6f |nto HTML|ColorToo|
|00000f30| 6c 73 57 65 72 65 56 69 | 7a 0d 70 75 74 20 76 69 |lsWereVi|z.put vi|
|00000f40| 7a 28 22 74 6f 6f 6c 73 | 22 29 20 69 6e 74 6f 20 |z("tools|") into |
|00000f50| 74 6f 6f 6c 73 57 65 72 | 65 56 69 7a 0d 70 75 74 |toolsWer|eViz.put|
|00000f60| 20 76 69 7a 28 22 70 61 | 74 74 65 72 6e 73 22 29 | viz("pa|tterns")|
|00000f70| 20 69 6e 74 6f 20 70 61 | 74 73 57 65 72 65 56 69 | into pa|tsWereVi|
|00000f80| 7a 0d 70 75 74 20 74 68 | 65 20 76 69 73 69 62 6c |z.put th|e visibl|
|00000f90| 65 20 6f 66 20 6d 73 67 | 20 69 6e 74 6f 20 6d 73 |e of msg| into ms|
|00000fa0| 67 57 61 73 56 69 7a 0d | 70 75 74 20 46 41 4c 53 |gWasViz.|put FALS|
|00000fb0| 45 20 69 6e 74 6f 20 69 | 6e 64 65 78 55 70 64 61 |E into i|ndexUpda|
|00000fc0| 74 65 64 0d 70 61 73 73 | 20 6f 70 65 6e 53 74 61 |ted.pass| openSta|
|00000fd0| 63 6b 0d 65 6e 64 20 6f | 70 65 6e 53 74 61 63 6b |ck.end o|penStack|
|00000fe0| 0d 0d 6f 6e 20 63 6c 6f | 73 65 53 74 61 63 6b 0d |..on clo|seStack.|
|00000ff0| 67 6c 6f 62 61 6c 20 61 | 75 74 6f 43 6f 6d 70 61 |global a|utoCompa|
|00001000| 63 74 0d 69 66 20 61 75 | 74 6f 43 6f 6d 70 61 63 |ct.if au|toCompac|
|00001010| 74 20 74 68 65 6e 20 63 | 6f 6d 70 61 63 74 53 74 |t then c|ompactSt|
|00001020| 61 63 6b 0d 69 66 20 74 | 68 65 72 65 20 69 73 20 |ack.if t|here is |
|00001030| 61 20 77 69 6e 64 6f 77 | 20 22 48 54 4d 4c 54 6f |a window| "HTMLTo|
|00001040| 6f 6c 73 22 20 74 68 65 | 6e 20 63 6c 6f 73 65 20 |ols" the|n close |
|00001050| 77 69 6e 64 6f 77 20 22 | 48 54 4d 4c 54 6f 6f 6c |window "|HTMLTool|
|00001060| 73 22 0d 69 66 20 74 68 | 65 72 65 20 69 73 20 61 |s".if th|ere is a|
|00001070| 20 77 69 6e 64 6f 77 20 | 22 48 54 4d 4c 43 6f 6c | window |"HTMLCol|
|00001080| 6f 72 54 6f 6f 6c 73 22 | 20 74 68 65 6e 20 63 6c |orTools"| then cl|
|00001090| 6f 73 65 20 77 69 6e 64 | 6f 77 20 22 48 54 4d 4c |ose wind|ow "HTML|
|000010a0| 43 6f 6c 6f 72 54 6f 6f | 6c 73 22 0d 70 61 73 73 |ColorToo|ls".pass|
|000010b0| 20 63 6c 6f 73 65 53 74 | 61 63 6b 0d 65 6e 64 20 | closeSt|ack.end |
|000010c0| 63 6c 6f 73 65 53 74 61 | 63 6b 0d 0d 6f 6e 20 61 |closeSta|ck..on a|
|000010d0| 70 70 6c 65 45 76 65 6e | 74 20 74 68 65 43 6c 61 |ppleEven|t theCla|
|000010e0| 73 73 2c 74 68 65 49 44 | 2c 74 68 65 53 65 6e 64 |ss,theID|,theSend|
|000010f0| 65 72 0d 70 6c 61 79 20 | 22 64 69 6e 6b 22 20 66 |er.play |"dink" f|
|00001100| 34 73 20 61 0d 73 65 74 | 20 6c 6f 63 6b 45 72 72 |4s a.set| lockErr|
|00001110| 6f 72 44 69 61 6c 6f 67 | 73 20 74 6f 20 54 52 55 |orDialog|s to TRU|
|00001120| 45 0d 67 65 74 20 74 68 | 65 20 69 74 65 6d 44 65 |E.get th|e itemDe|
|00001130| 6c 69 6d 69 74 65 72 0d | 73 65 74 20 74 68 65 20 |limiter.|set the |
|00001140| 69 74 65 6d 44 65 6c 69 | 6d 69 74 65 72 20 74 6f |itemDeli|miter to|
|00001150| 20 63 6f 6c 6f 6e 0d 70 | 75 74 20 6c 61 73 74 20 | colon.p|ut last |
|00001160| 69 74 65 6d 20 6f 66 20 | 74 68 65 53 65 6e 64 65 |item of |theSende|
|00001170| 72 20 69 6e 74 6f 20 73 | 65 6e 64 69 6e 67 50 72 |r into s|endingPr|
|00001180| 6f 67 72 61 6d 0d 73 65 | 74 20 74 68 65 20 69 74 |ogram.se|t the it|
|00001190| 65 6d 44 65 6c 69 6d 69 | 74 65 72 20 74 6f 20 69 |emDelimi|ter to i|
|000011a0| 74 0d 69 66 20 74 68 65 | 43 6c 61 73 73 20 69 73 |t.if the|Class is|
|000011b0| 20 22 61 65 76 74 22 20 | 61 6e 64 20 74 68 65 49 | "aevt" |and theI|
|000011c0| 44 20 69 73 20 22 6f 64 | 6f 63 22 20 61 6e 64 20 |D is "od|oc" and |
|000011d0| 73 65 6e 64 69 6e 67 50 | 72 6f 67 72 61 6d 20 69 |sendingP|rogram i|
|000011e0| 73 20 22 46 69 6e 64 65 | 72 22 20 74 68 65 6e 0d |s "Finde|r" then.|
|000011f0| 73 65 74 20 63 75 72 73 | 6f 72 20 74 6f 20 77 61 |set curs|or to wa|
|00001200| 74 63 68 0d 72 65 71 75 | 65 73 74 20 61 70 70 6c |tch.requ|est appl|
|00001210| 65 45 76 65 6e 74 20 64 | 61 74 61 0d 69 66 20 69 |eEvent d|ata.if i|
|00001220| 74 20 3d 20 65 6d 70 74 | 79 20 74 68 65 6e 20 65 |t = empt|y then e|
|00001230| 78 69 74 20 61 70 70 6c | 65 45 76 65 6e 74 0d 70 |xit appl|eEvent.p|
|00001240| 75 74 20 69 74 20 69 6e | 74 6f 20 66 4e 61 6d 65 |ut it in|to fName|
|00001250| 4c 69 73 74 0d 67 6f 20 | 63 64 20 28 6e 75 6d 62 |List.go |cd (numb|
|00001260| 65 72 28 63 64 73 20 69 | 6e 20 62 67 20 22 45 64 |er(cds i|n bg "Ed|
|00001270| 69 74 6f 72 22 29 29 2d | 32 20 6f 66 20 62 67 20 |itor"))-|2 of bg |
|00001280| 22 45 64 69 74 6f 72 22 | 0d 72 65 70 65 61 74 20 |"Editor"|.repeat |
|00001290| 77 69 74 68 20 69 20 3d | 20 31 20 74 6f 20 74 68 |with i =| 1 to th|
|000012a0| 65 20 6e 75 6d 62 65 72 | 20 6f 66 20 6c 69 6e 65 |e number| of line|
|000012b0| 73 20 6f 66 20 66 4e 61 | 6d 65 4c 69 73 74 0d 73 |s of fNa|meList.s|
|000012c0| 65 6e 64 20 22 69 6d 70 | 6f 72 74 48 54 4d 4c 22 |end "imp|ortHTML"|
|000012d0| 26 26 71 75 6f 74 65 26 | 28 6c 69 6e 65 20 69 20 |&&quote&|(line i |
|000012e0| 6f 66 20 66 4e 61 6d 65 | 4c 69 73 74 29 26 71 75 |of fName|List)&qu|
|000012f0| 6f 74 65 20 74 6f 20 74 | 68 69 73 20 63 64 0d 65 |ote to t|his cd.e|
|00001300| 6e 64 20 72 65 70 65 61 | 74 0d 65 6e 64 20 69 66 |nd repea|t.end if|
|00001310| 20 2d 2d 20 70 61 73 73 | 20 61 70 70 6c 65 45 76 | -- pass| appleEv|
|00001320| 65 6e 74 0d 65 6e 64 20 | 61 70 70 6c 65 45 76 65 |ent.end |appleEve|
|00001330| 6e 74 0d 0d 6f 6e 20 65 | 72 72 6f 72 44 69 61 6c |nt..on e|rrorDial|
|00001340| 6f 67 20 77 68 69 63 68 | 45 72 72 6f 72 0d 61 6e |og which|Error.an|
|00001350| 73 77 65 72 20 22 48 54 | 4d 4c 2e 65 64 69 74 20 |swer "HT|ML.edit |
|00001360| 45 72 72 6f 72 3a 22 26 | 72 65 74 75 72 6e 26 22 |Error:"&|return&"|
|00001370| d2 22 26 77 68 69 63 68 | 45 72 72 6f 72 26 22 d3 |."&which|Error&".|
|00001380| 22 0d 65 6e 64 20 65 72 | 72 6f 72 44 69 61 6c 6f |".end er|rorDialo|
|00001390| 67 0d 0d 2d 2d 2d 2d 20 | a5 20 73 74 61 6e 64 61 |g..---- |. standa|
|000013a0| 72 64 0d 0d 6f 6e 20 64 | 6f 4d 65 6e 75 20 69 0d |rd..on d|oMenu i.|
|000013b0| 69 66 20 69 20 3d 20 22 | 4e 65 77 20 42 61 63 6b |if i = "|New Back|
|000013c0| 67 72 6f 75 6e 64 22 20 | 74 68 65 6e 20 62 65 65 |ground" |then bee|
|000013d0| 70 0d 65 6c 73 65 20 69 | 66 20 69 20 3d 20 22 49 |p.else i|f i = "I|
|000013e0| 6d 70 6f 72 74 20 44 6f | 63 75 6d 65 6e 74 2e 2e |mport Do|cument..|
|000013f0| 2e 22 20 74 68 65 6e 0d | 67 6f 20 63 64 20 28 6e |." then.|go cd (n|
|00001400| 75 6d 62 65 72 28 63 64 | 73 20 69 6e 20 62 67 20 |umber(cd|s in bg |
|00001410| 22 45 64 69 74 6f 72 22 | 29 29 2d 32 20 6f 66 20 |"Editor"|))-2 of |
|00001420| 62 67 20 22 45 64 69 74 | 6f 72 22 0d 73 65 6e 64 |bg "Edit|or".send|
|00001430| 20 22 69 6d 70 6f 72 74 | 48 54 4d 4c 22 20 74 6f | "import|HTML" to|
|00001440| 20 74 68 69 73 20 63 64 | 0d 65 6c 73 65 20 69 66 | this cd|.else if|
|00001450| 20 69 20 3d 20 22 45 78 | 70 6f 72 74 20 44 6f 63 | i = "Ex|port Doc|
|00001460| 75 6d 65 6e 74 2e 2e 2e | 22 20 74 68 65 6e 0d 67 |ument...|" then.g|
|00001470| 65 74 20 6e 75 6d 62 65 | 72 28 74 68 69 73 20 63 |et numbe|r(this c|
|00001480| 64 29 0d 69 66 20 28 69 | 74 20 3d 20 31 29 20 6f |d).if (i|t = 1) o|
|00001490| 72 20 28 69 74 20 3e 20 | 28 6e 75 6d 62 65 72 28 |r (it > |(number(|
|000014a0| 63 64 73 29 2d 33 29 29 | 20 74 68 65 6e 20 62 65 |cds)-3))| then be|
|000014b0| 65 70 0d 65 6c 73 65 20 | 73 65 6e 64 20 22 65 78 |ep.else |send "ex|
|000014c0| 70 6f 72 74 48 54 4d 4c | 22 20 74 6f 20 74 68 69 |portHTML|" to thi|
|000014d0| 73 20 63 64 0d 65 6c 73 | 65 20 70 61 73 73 20 64 |s cd.els|e pass d|
|000014e0| 6f 4d 65 6e 75 0d 65 6e | 64 20 64 6f 4d 65 6e 75 |oMenu.en|d doMenu|
|000014f0| 0d 0d 6f 6e 20 6e 65 77 | 43 61 72 64 0d 67 6c 6f |..on new|Card.glo|
|00001500| 62 61 6c 20 69 6e 64 65 | 78 55 70 64 61 74 65 64 |bal inde|xUpdated|
|00001510| 0d 70 75 74 20 46 41 4c | 53 45 20 69 6e 74 6f 20 |.put FAL|SE into |
|00001520| 69 6e 64 65 78 55 70 64 | 61 74 65 64 0d 70 61 73 |indexUpd|ated.pas|
|00001530| 73 20 6e 65 77 43 61 72 | 64 0d 65 6e 64 20 6e 65 |s newCar|d.end ne|
|00001540| 77 43 61 72 64 0d 0d 6f | 6e 20 64 65 6c 65 74 65 |wCard..o|n delete|
|00001550| 43 61 72 64 0d 67 6c 6f | 62 61 6c 20 69 6e 64 65 |Card.glo|bal inde|
|00001560| 78 55 70 64 61 74 65 64 | 0d 70 75 74 20 46 41 4c |xUpdated|.put FAL|
|00001570| 53 45 20 69 6e 74 6f 20 | 69 6e 64 65 78 55 70 64 |SE into |indexUpd|
|00001580| 61 74 65 64 0d 70 61 73 | 73 20 64 65 6c 65 74 65 |ated.pas|s delete|
|00001590| 43 61 72 64 0d 65 6e 64 | 20 64 65 6c 65 74 65 43 |Card.end| deleteC|
|000015a0| 61 72 64 0d 0d 6f 6e 20 | 69 64 6c 65 0d 69 66 20 |ard..on |idle.if |
|000015b0| 74 68 65 72 65 20 69 73 | 20 61 20 77 69 6e 64 6f |there is| a windo|
|000015c0| 77 20 22 70 72 6f 67 72 | 65 73 73 22 20 74 68 65 |w "progr|ess" the|
|000015d0| 6e 20 63 6c 6f 73 65 20 | 77 69 6e 64 6f 77 20 22 |n close |window "|
|000015e0| 70 72 6f 67 72 65 73 73 | 22 0d 70 61 73 73 20 69 |progress|".pass i|
|000015f0| 64 6c 65 0d 65 6e 64 20 | 69 64 6c 65 0d 0d 6f 6e |dle.end |idle..on|
|00001600| 20 73 68 6f 77 41 62 6f | 75 74 20 74 68 65 54 69 | showAbo|ut theTi|
|00001610| 6d 65 0d 69 66 20 74 68 | 65 54 69 6d 65 20 3d 20 |me.if th|eTime = |
|00001620| 65 6d 70 74 79 20 74 68 | 65 6e 20 70 75 74 20 39 |empty th|en put 9|
|00001630| 39 39 20 69 6e 74 6f 20 | 74 68 65 54 69 6d 65 0d |99 into |theTime.|
|00001640| 67 65 74 20 6c 69 6e 65 | 20 31 20 6f 66 20 67 65 |get line| 1 of ge|
|00001650| 74 4d 6f 64 65 28 29 0d | 69 66 20 28 69 74 65 6d |tMode().|if (item|
|00001660| 20 31 20 6f 66 20 69 74 | 20 3d 20 22 42 22 29 20 | 1 of it| = "B") |
|00001670| 61 6e 64 20 28 69 74 65 | 6d 20 32 20 6f 66 20 69 |and (ite|m 2 of i|
|00001680| 74 20 3d 20 31 29 20 74 | 68 65 6e 20 73 68 6f 77 |t = 1) t|hen show|
|00001690| 57 69 6e 64 20 22 41 62 | 6f 75 74 42 6f 78 42 57 |Wind "Ab|outBoxBW|
|000016a0| 22 2c 74 68 65 54 69 6d | 65 20 2d 2d 20 42 26 57 |",theTim|e -- B&W|
|000016b0| 20 41 62 6f 75 74 42 6f | 78 0d 65 6c 73 65 20 73 | AboutBo|x.else s|
|000016c0| 68 6f 77 57 69 6e 64 20 | 22 41 62 6f 75 74 42 6f |howWind |"AboutBo|
|000016d0| 78 22 2c 74 68 65 54 69 | 6d 65 20 2d 2d 20 43 6f |x",theTi|me -- Co|
|000016e0| 6c 6f 72 20 41 62 6f 75 | 74 42 6f 78 0d 65 6e 64 |lor Abou|tBox.end|
|000016f0| 20 73 68 6f 77 41 62 6f | 75 74 0d 0d 6f 6e 20 73 | showAbo|ut..on s|
|00001700| 68 6f 77 57 69 6e 64 20 | 77 69 6e 64 2c 74 69 6d |howWind |wind,tim|
|00001710| 65 0d 67 65 74 20 74 68 | 65 20 74 69 63 6b 73 0d |e.get th|e ticks.|
|00001720| 70 69 63 74 75 72 65 20 | 77 69 6e 64 2c 72 65 73 |picture |wind,res|
|00001730| 6f 75 72 63 65 2c 73 68 | 61 64 6f 77 0d 69 66 20 |ource,sh|adow.if |
|00001740| 74 68 65 72 65 20 69 73 | 20 6e 6f 20 77 69 6e 64 |there is| no wind|
|00001750| 6f 77 20 77 69 6e 64 20 | 74 68 65 6e 20 61 6e 73 |ow wind |then ans|
|00001760| 77 65 72 20 22 4f 55 54 | 20 4f 46 20 4d 45 4d 4f |wer "OUT| OF MEMO|
|00001770| 52 59 20 45 52 52 4f 52 | 3a 22 26 72 65 74 75 72 |RY ERROR|:"&retur|
|00001780| 6e 26 22 55 6e 61 62 6c | 65 20 74 6f 20 64 69 73 |n&"Unabl|e to dis|
|00001790| 70 6c 61 79 20 67 72 61 | 70 68 69 63 2e 20 41 6c |play gra|phic. Al|
|000017a0| 6c 6f 63 61 74 65 20 6d | 6f 72 65 20 6d 65 6d 6f |locate m|ore memo|
|000017b0| 72 79 20 74 6f 20 74 68 | 69 73 20 61 70 70 6c 69 |ry to th|is appli|
|000017c0| 63 61 74 69 6f 6e 2e 22 | 0d 65 6c 73 65 20 77 61 |cation."|.else wa|
|000017d0| 69 74 20 75 6e 74 69 6c | 20 74 68 65 20 6d 6f 75 |it until| the mou|
|000017e0| 73 65 43 6c 69 63 6b 20 | 6f 72 20 74 68 65 20 74 |seClick |or the t|
|000017f0| 69 63 6b 73 20 2d 20 69 | 74 20 3e 20 28 74 69 6d |icks - i|t > (tim|
|00001800| 65 20 2a 20 36 30 29 0d | 6c 6f 63 6b 20 73 63 72 |e * 60).|lock scr|
|00001810| 65 65 6e 0d 69 66 20 74 | 68 65 72 65 20 69 73 20 |een.if t|here is |
|00001820| 61 20 77 69 6e 64 6f 77 | 20 77 69 6e 64 20 74 68 |a window| wind th|
|00001830| 65 6e 20 63 6c 6f 73 65 | 20 77 69 6e 64 6f 77 20 |en close| window |
|00001840| 77 69 6e 64 0d 75 6e 6c | 6f 63 6b 20 73 63 72 65 |wind.unl|ock scre|
|00001850| 65 6e 20 77 69 74 68 20 | 7a 6f 6f 6d 20 63 6c 6f |en with |zoom clo|
|00001860| 73 65 0d 65 6e 64 20 73 | 68 6f 77 57 69 6e 64 0d |se.end s|howWind.|
|00001870| 0d 6f 6e 20 6d 6f 75 73 | 65 44 6f 77 6e 49 6e 50 |.on mous|eDownInP|
|00001880| 69 63 74 75 72 65 20 77 | 69 6e 64 0d 69 66 20 77 |icture w|ind.if w|
|00001890| 69 6e 64 20 3d 20 22 41 | 62 6f 75 74 42 6f 78 22 |ind = "A|boutBox"|
|000018a0| 20 74 68 65 6e 20 63 6c | 6f 73 65 20 77 69 6e 64 | then cl|ose wind|
|000018b0| 6f 77 20 22 41 62 6f 75 | 74 42 6f 78 22 0d 69 66 |ow "Abou|tBox".if|
|000018c0| 20 77 69 6e 64 20 3d 20 | 22 41 62 6f 75 74 42 6f | wind = |"AboutBo|
|000018d0| 78 42 57 22 20 74 68 65 | 6e 20 63 6c 6f 73 65 20 |xBW" the|n close |
|000018e0| 77 69 6e 64 6f 77 20 22 | 41 62 6f 75 74 42 6f 78 |window "|AboutBox|
|000018f0| 42 57 22 0d 69 66 20 77 | 69 6e 64 20 3d 20 22 50 |BW".if w|ind = "P|
|00001900| 61 6c 65 74 74 65 48 65 | 6c 70 22 20 74 68 65 6e |aletteHe|lp" then|
|00001910| 20 63 6c 6f 73 65 20 77 | 69 6e 64 6f 77 20 22 50 | close w|indow "P|
|00001920| 61 6c 65 74 74 65 48 65 | 6c 70 22 0d 65 6e 64 20 |aletteHe|lp".end |
|00001930| 6d 6f 75 73 65 44 6f 77 | 6e 49 6e 50 69 63 74 75 |mouseDow|nInPictu|
|00001940| 72 65 0d 0d 6f 6e 20 63 | 6f 6d 70 61 63 74 53 74 |re..on c|ompactSt|
|00001950| 61 63 6b 0d 67 6c 6f 62 | 61 6c 20 63 6f 6d 70 61 |ack.glob|al compa|
|00001960| 63 74 54 68 72 65 73 68 | 6f 6c 64 0d 69 66 20 74 |ctThresh|old.if t|
|00001970| 68 65 20 66 72 65 65 53 | 69 7a 65 20 6f 66 20 74 |he freeS|ize of t|
|00001980| 68 69 73 20 73 74 61 63 | 6b 2f 74 68 65 20 73 69 |his stac|k/the si|
|00001990| 7a 65 20 6f 66 20 74 68 | 69 73 20 73 74 61 63 6b |ze of th|is stack|
|000019a0| 20 3e 20 63 6f 6d 70 61 | 63 74 54 68 72 65 73 68 | > compa|ctThresh|
|000019b0| 6f 6c 64 20 74 68 65 6e | 20 64 6f 4d 65 6e 75 20 |old then| doMenu |
|000019c0| 22 43 6f 6d 70 61 63 74 | 20 53 74 61 63 6b 22 0d |"Compact| Stack".|
|000019d0| 65 6e 64 20 63 6f 6d 70 | 61 63 74 53 74 61 63 6b |end comp|actStack|
|000019e0| 0d 0d 6f 6e 20 70 72 69 | 6e 74 54 65 78 74 0d 6f |..on pri|ntText.o|
|000019f0| 70 65 6e 20 72 65 70 6f | 72 74 20 70 72 69 6e 74 |pen repo|rt print|
|00001a00| 69 6e 67 20 77 69 74 68 | 20 74 65 6d 70 6c 61 74 |ing with| templat|
|00001a10| 65 20 22 50 72 69 6e 74 | 44 6f 63 75 6d 65 6e 74 |e "Print|Document|
|00001a20| 22 0d 70 72 69 6e 74 20 | 74 68 69 73 20 63 64 0d |".print |this cd.|
|00001a30| 63 6c 6f 73 65 20 70 72 | 69 6e 74 69 6e 67 0d 65 |close pr|inting.e|
|00001a40| 6e 64 20 70 72 69 6e 74 | 54 65 78 74 0d 0d 2d 2d |nd print|Text..--|
|00001a50| 20 a5 0d 0d 6f 6e 20 69 | 6e 64 65 78 53 74 61 63 | ...on i|ndexStac|
|00001a60| 6b 0d 67 6c 6f 62 61 6c | 20 69 6e 64 65 78 55 70 |k.global| indexUp|
|00001a70| 64 61 74 65 64 2c 69 6e | 64 65 78 4c 69 73 74 2c |dated,in|dexList,|
|00001a80| 63 61 72 64 49 44 4c 69 | 73 74 0d 69 66 20 74 68 |cardIDLi|st.if th|
|00001a90| 65 20 73 68 6f 72 74 20 | 69 64 20 6f 66 20 74 68 |e short |id of th|
|00001aa0| 69 73 20 63 64 20 3d 20 | 32 32 39 32 20 74 68 65 |is cd = |2292 the|
|00001ab0| 6e 20 70 75 74 20 65 6d | 70 74 79 20 69 6e 74 6f |n put em|pty into|
|00001ac0| 20 63 64 20 66 6c 64 20 | 22 49 6e 64 65 78 22 0d | cd fld |"Index".|
|00001ad0| 70 75 73 68 20 63 64 0d | 6c 6f 63 6b 20 73 63 72 |push cd.|lock scr|
|00001ae0| 65 65 6e 0d 6c 6f 63 6b | 20 6d 65 73 73 61 67 65 |een.lock| message|
|00001af0| 73 0d 67 6f 20 63 64 20 | 69 64 20 32 32 39 32 20 |s.go cd |id 2292 |
|00001b00| 2d 2d 20 69 6e 64 65 78 | 20 63 61 72 64 0d 70 75 |-- index| card.pu|
|00001b10| 74 20 65 6d 70 74 79 20 | 69 6e 74 6f 20 69 6e 64 |t empty |into ind|
|00001b20| 65 78 4c 69 73 74 0d 70 | 75 74 20 65 6d 70 74 79 |exList.p|ut empty|
|00001b30| 20 69 6e 74 6f 20 63 64 | 20 66 6c 64 20 22 49 6e | into cd| fld "In|
|00001b40| 64 65 78 22 0d 70 75 74 | 20 65 6d 70 74 79 20 69 |dex".put| empty i|
|00001b50| 6e 74 6f 20 63 68 61 72 | 43 6f 75 6e 74 4c 69 73 |nto char|CountLis|
|00001b60| 74 0d 70 75 74 20 65 6d | 70 74 79 20 69 6e 74 6f |t.put em|pty into|
|00001b70| 20 63 64 20 66 6c 64 20 | 22 63 68 61 72 43 6f 75 | cd fld |"charCou|
|00001b80| 6e 74 4c 69 73 74 22 0d | 70 75 74 20 65 6d 70 74 |ntList".|put empt|
|00001b90| 79 20 69 6e 74 6f 20 6c | 61 73 74 53 61 76 65 64 |y into l|astSaved|
|00001ba0| 4c 69 73 74 0d 70 75 74 | 20 65 6d 70 74 79 20 69 |List.put| empty i|
|00001bb0| 6e 74 6f 20 63 64 20 66 | 6c 64 20 22 6c 61 73 74 |nto cd f|ld "last|
|00001bc0| 53 61 76 65 64 4c 69 73 | 74 22 0d 70 75 74 20 65 |SavedLis|t".put e|
|00001bd0| 6d 70 74 79 20 69 6e 74 | 6f 20 63 61 72 64 49 44 |mpty int|o cardID|
|00001be0| 4c 69 73 74 0d 70 75 74 | 20 65 6d 70 74 79 20 69 |List.put| empty i|
|00001bf0| 6e 74 6f 20 63 64 20 66 | 6c 64 20 22 63 61 72 64 |nto cd f|ld "card|
|00001c00| 49 44 4c 69 73 74 22 0d | 67 6f 20 66 69 72 73 74 |IDList".|go first|
|00001c10| 20 63 64 20 6f 66 20 62 | 67 20 22 45 64 69 74 6f | cd of b|g "Edito|
|00001c20| 72 22 0d 70 75 74 20 6e | 75 6d 62 65 72 28 63 64 |r".put n|umber(cd|
|00001c30| 73 20 69 6e 20 74 68 69 | 73 20 62 67 29 2d 32 20 |s in thi|s bg)-2 |
|00001c40| 69 6e 74 6f 20 65 6e 64 | 4f 70 0d 69 66 20 65 6e |into end|Op.if en|
|00001c50| 64 4f 70 20 3e 20 33 20 | 2d 2d 20 63 61 72 64 20 |dOp > 3 |-- card |
|00001c60| 74 68 72 65 73 68 6f 6c | 64 20 66 6f 72 20 75 73 |threshol|d for us|
|00001c70| 69 6e 67 20 74 68 65 72 | 6d 6f 6d 65 74 65 72 0d |ing ther|mometer.|
|00001c80| 74 68 65 6e 20 70 72 6f | 67 72 65 73 73 57 69 6e |then pro|gressWin|
|00001c90| 64 6f 77 20 22 a9 44 6f | 6d 65 22 2c 22 50 72 6f |dow ".Do|me","Pro|
|00001ca0| 67 72 65 73 73 22 2c 22 | 49 6e 64 65 78 69 6e 67 |gress","|Indexing|
|00001cb0| 20 64 6f 63 75 6d 65 6e | 74 73 c9 22 26 72 65 74 | documen|ts."&ret|
|00001cc0| 75 72 6e 26 22 54 79 70 | 65 20 11 2d 2e 20 74 6f |urn&"Typ|e .-. to|
|00001cd0| 20 68 61 6c 74 20 70 72 | 6f 63 65 73 73 69 6e 67 | halt pr|ocessing|
|00001ce0| 2e 22 2c 34 31 33 30 0d | 72 65 70 65 61 74 20 77 |.",4130.|repeat w|
|00001cf0| 69 74 68 20 69 20 3d 20 | 31 20 74 6f 20 65 6e 64 |ith i = |1 to end|
|00001d00| 4f 70 0d 67 6f 20 63 64 | 20 69 20 6f 66 20 74 68 |Op.go cd| i of th|
|00001d10| 69 73 20 62 67 0d 70 75 | 74 20 74 68 65 20 73 68 |is bg.pu|t the sh|
|00001d20| 6f 72 74 20 69 64 20 6f | 66 20 74 68 69 73 20 63 |ort id o|f this c|
|00001d30| 64 26 72 65 74 75 72 6e | 20 61 66 74 65 72 20 63 |d&return| after c|
|00001d40| 61 72 64 49 44 4c 69 73 | 74 0d 70 75 74 20 66 6c |ardIDLis|t.put fl|
|00001d50| 64 20 22 74 69 74 6c 65 | 22 26 72 65 74 75 72 6e |d "title|"&return|
|00001d60| 20 61 66 74 65 72 20 69 | 6e 64 65 78 4c 69 73 74 | after i|ndexList|
|00001d70| 0d 70 75 74 20 6e 75 6d | 62 65 72 28 63 68 61 72 |.put num|ber(char|
|00001d80| 73 20 69 6e 20 66 6c 64 | 20 69 64 20 31 29 2b 6e |s in fld| id 1)+n|
|00001d90| 75 6d 62 65 72 28 63 68 | 61 72 73 20 69 6e 20 66 |umber(ch|ars in f|
|00001da0| 6c 64 20 69 64 20 32 29 | 2b 6e 75 6d 62 65 72 28 |ld id 2)|+number(|
|00001db0| 63 68 61 72 73 20 69 6e | 20 66 6c 64 20 69 64 20 |chars in| fld id |
|00001dc0| 33 29 26 c2 0d 22 20 63 | 68 61 72 73 22 26 72 65 |3)&.." c|hars"&re|
|00001dd0| 74 75 72 6e 20 61 66 74 | 65 72 20 63 68 61 72 43 |turn aft|er charC|
|00001de0| 6f 75 6e 74 4c 69 73 74 | 0d 69 66 20 66 6c 64 20 |ountList|.if fld |
|00001df0| 69 64 20 31 30 20 ad 20 | 65 6d 70 74 79 20 74 68 |id 10 . |empty th|
|00001e00| 65 6e 20 67 65 74 20 66 | 6c 64 20 69 64 20 31 30 |en get f|ld id 10|
|00001e10| 20 65 6c 73 65 20 67 65 | 74 20 22 6e 6f 74 20 73 | else ge|t "not s|
|00001e20| 61 76 65 64 22 0d 70 75 | 74 20 69 74 26 72 65 74 |aved".pu|t it&ret|
|00001e30| 75 72 6e 20 61 66 74 65 | 72 20 6c 61 73 74 53 61 |urn afte|r lastSa|
|00001e40| 76 65 64 4c 69 73 74 0d | 69 66 20 74 68 65 72 65 |vedList.|if there|
|00001e50| 20 69 73 20 61 20 77 69 | 6e 64 6f 77 20 22 50 72 | is a wi|ndow "Pr|
|00001e60| 6f 67 72 65 73 73 22 20 | 74 68 65 6e 20 73 65 74 |ogress" |then set|
|00001e70| 20 74 68 65 50 65 72 63 | 65 6e 74 20 6f 66 20 77 | thePerc|ent of w|
|00001e80| 69 6e 64 6f 77 20 22 50 | 72 6f 67 72 65 73 73 22 |indow "P|rogress"|
|00001e90| 20 74 6f 20 28 69 2f 65 | 6e 64 4f 70 29 2a 31 30 | to (i/e|ndOp)*10|
|00001ea0| 30 20 65 6c 73 65 20 62 | 7a 0d 65 6e 64 20 72 65 |0 else b|z.end re|
|00001eb0| 70 65 61 74 0d 67 6f 20 | 63 64 20 69 64 20 32 32 |peat.go |cd id 22|
|00001ec0| 39 32 0d 69 66 20 6c 61 | 73 74 20 63 68 61 72 20 |92.if la|st char |
|00001ed0| 6f 66 20 69 6e 64 65 78 | 4c 69 73 74 20 3d 20 72 |of index|List = r|
|00001ee0| 65 74 75 72 6e 20 74 68 | 65 6e 20 64 65 6c 65 74 |eturn th|en delet|
|00001ef0| 65 20 6c 61 73 74 20 63 | 68 61 72 20 6f 66 20 69 |e last c|har of i|
|00001f00| 6e 64 65 78 4c 69 73 74 | 0d 70 75 74 20 69 6e 64 |ndexList|.put ind|
|00001f10| 65 78 4c 69 73 74 20 69 | 6e 74 6f 20 63 64 20 66 |exList i|nto cd f|
|00001f20| 6c 64 20 22 49 6e 64 65 | 78 22 0d 70 75 74 20 72 |ld "Inde|x".put r|
|00001f30| 65 74 75 72 6e 20 61 66 | 74 65 72 20 69 6e 64 65 |eturn af|ter inde|
|00001f40| 78 4c 69 73 74 0d 70 75 | 74 20 63 61 72 64 49 44 |xList.pu|t cardID|
|00001f50| 4c 69 73 74 20 69 6e 74 | 6f 20 63 64 20 66 6c 64 |List int|o cd fld|
|00001f60| 20 22 63 61 72 64 49 44 | 4c 69 73 74 22 0d 70 75 | "cardID|List".pu|
|00001f70| 74 20 63 68 61 72 43 6f | 75 6e 74 4c 69 73 74 20 |t charCo|untList |
|00001f80| 69 6e 74 6f 20 63 64 20 | 66 6c 64 20 22 63 68 61 |into cd |fld "cha|
|00001f90| 72 43 6f 75 6e 74 4c 69 | 73 74 22 0d 70 75 74 20 |rCountLi|st".put |
|00001fa0| 6c 61 73 74 53 61 76 65 | 64 4c 69 73 74 20 69 6e |lastSave|dList in|
|00001fb0| 74 6f 20 63 64 20 66 6c | 64 20 22 6c 61 73 74 53 |to cd fl|d "lastS|
|00001fc0| 61 76 65 64 4c 69 73 74 | 22 0d 62 7a 0d 69 66 20 |avedList|".bz.if |
|00001fd0| 76 69 7a 28 22 50 72 6f | 67 72 65 73 73 22 29 20 |viz("Pro|gress") |
|00001fe0| 74 68 65 6e 20 63 6c 6f | 73 65 20 77 69 6e 64 6f |then clo|se windo|
|00001ff0| 77 20 22 50 72 6f 67 72 | 65 73 73 22 0d 70 75 74 |w "Progr|ess".put|
|00002000| 20 54 52 55 45 20 69 6e | 74 6f 20 69 6e 64 65 78 | TRUE in|to index|
|00002010| 55 70 64 61 74 65 64 0d | 70 6f 70 20 63 64 0d 75 |Updated.|pop cd.u|
|00002020| 6e 6c 6f 63 6b 20 73 63 | 72 65 65 6e 0d 65 6e 64 |nlock sc|reen.end|
|00002030| 20 69 6e 64 65 78 53 74 | 61 63 6b 0d 0d 2d 2d 20 | indexSt|ack..-- |
|00002040| a5 20 48 54 4d 4c 20 43 | 6f 64 69 6e 67 0d 0d 6f |. HTML C|oding..o|
|00002050| 6e 20 70 61 72 73 65 48 | 54 4d 4c 20 2d 2d 20 61 |n parseH|TML -- a|
|00002060| 64 64 20 3c 48 54 4d 4c | 3e 20 63 6f 64 65 73 20 |dd <HTML|> codes |
|00002070| 6f 6e 6c 79 20 69 66 20 | 74 68 65 79 20 65 78 69 |only if |they exi|
|00002080| 73 74 20 73 6f 6d 65 77 | 68 65 72 65 20 69 6e 20 |st somew|here in |
|00002090| 48 42 46 0d 6c 6f 63 6b | 20 73 63 72 65 65 6e 0d |HBF.lock| screen.|
|000020a0| 69 66 20 64 65 6c 65 74 | 65 48 54 4d 4c 28 22 3c |if delet|eHTML("<|
|000020b0| 48 54 4d 4c 3e 22 29 20 | 3e 20 30 20 74 68 65 6e |HTML>") |> 0 then|
|000020c0| 20 2d 2d 20 74 68 65 72 | 65 20 77 65 72 65 20 73 | -- ther|e were s|
|000020d0| 6f 6d 65 20 63 6f 64 65 | 73 2c 20 73 6f 20 61 64 |ome code|s, so ad|
|000020e0| 64 20 27 65 6d 20 62 61 | 63 6b 0d 69 66 20 66 69 |d 'em ba|ck.if fi|
|000020f0| 72 73 74 20 63 68 61 72 | 20 6f 66 20 66 6c 64 20 |rst char| of fld |
|00002100| 22 68 65 61 64 65 72 22 | 20 ad 20 72 65 74 75 72 |"header"| . retur|
|00002110| 6e 20 61 6e 64 20 66 6c | 64 20 22 68 65 61 64 65 |n and fl|d "heade|
|00002120| 72 22 20 ad 20 65 6d 70 | 74 79 20 74 68 65 6e 20 |r" . emp|ty then |
|00002130| 70 75 74 20 72 65 74 75 | 72 6e 20 62 65 66 6f 72 |put retu|rn befor|
|00002140| 65 20 66 6c 64 20 22 68 | 65 61 64 65 72 22 0d 70 |e fld "h|eader".p|
|00002150| 75 74 20 22 3c 48 54 4d | 4c 3e 22 20 62 65 66 6f |ut "<HTM|L>" befo|
|00002160| 72 65 20 66 6c 64 20 22 | 68 65 61 64 65 72 22 0d |re fld "|header".|
|00002170| 69 66 20 6c 61 73 74 20 | 63 68 61 72 20 6f 66 20 |if last |char of |
|00002180| 66 6c 64 20 22 66 6f 6f | 74 65 72 22 20 ad 20 72 |fld "foo|ter" . r|
|00002190| 65 74 75 72 6e 20 61 6e | 64 20 66 6c 64 20 22 66 |eturn an|d fld "f|
|000021a0| 6f 6f 74 65 72 22 20 ad | 20 65 6d 70 74 79 20 74 |ooter" .| empty t|
|000021b0| 68 65 6e 20 70 75 74 20 | 72 65 74 75 72 6e 20 61 |hen put |return a|
|000021c0| 66 74 65 72 20 66 6c 64 | 20 22 66 6f 6f 74 65 72 |fter fld| "footer|
|000021d0| 22 0d 70 75 74 20 22 3c | 2f 48 54 4d 4c 3e 22 20 |".put "<|/HTML>" |
|000021e0| 61 66 74 65 72 20 66 6c | 64 20 22 66 6f 6f 74 65 |after fl|d "foote|
|000021f0| 72 22 0d 65 6e 64 20 69 | 66 0d 75 6e 6c 6f 63 6b |r".end i|f.unlock|
|00002200| 20 73 63 72 65 65 6e 0d | 65 6e 64 20 70 61 72 73 | screen.|end pars|
|00002210| 65 48 54 4d 4c 0d 0d 6f | 6e 20 70 61 72 73 65 48 |eHTML..o|n parseH|
|00002220| 45 41 44 0d 69 66 20 28 | 22 3c 48 45 41 44 3e 22 |EAD.if (|"<HEAD>"|
|00002230| 20 69 73 20 69 6e 20 66 | 6c 64 20 22 68 65 61 64 | is in f|ld "head|
|00002240| 65 72 22 29 20 6f 72 20 | 28 22 3c 2f 48 45 41 44 |er") or |("</HEAD|
|00002250| 3e 22 20 69 73 20 69 6e | 20 66 6c 64 20 22 68 65 |>" is in| fld "he|
|00002260| 61 64 65 72 22 29 20 74 | 68 65 6e 0d 70 72 6f 63 |ader") t|hen.proc|
|00002270| 65 73 73 45 72 72 6f 72 | 20 22 54 68 65 72 65 20 |essError| "There |
|00002280| 69 73 20 61 74 20 6c 65 | 61 73 74 20 6f 6e 65 20 |is at le|ast one |
|00002290| 3c 48 45 41 44 3e 20 74 | 61 67 20 61 6c 72 65 61 |<HEAD> t|ag alrea|
|000022a0| 64 79 20 69 6e 20 74 68 | 65 20 64 6f 63 75 6d 65 |dy in th|e docume|
|000022b0| 6e 74 20 68 65 61 64 65 | 72 2e 20 50 6c 65 61 73 |nt heade|r. Pleas|
|000022c0| 65 20 63 68 65 63 6b 20 | 79 6f 75 72 20 73 79 6e |e check |your syn|
|000022d0| 74 61 78 2e 22 0d 65 6c | 73 65 0d 70 75 74 20 6f |tax.".el|se.put o|
|000022e0| 66 66 73 65 74 28 22 3c | 48 45 41 44 3e 22 2c 66 |ffset("<|HEAD>",f|
|000022f0| 6c 64 20 22 62 6f 64 79 | 22 29 20 69 6e 74 6f 20 |ld "body|") into |
|00002300| 73 74 61 72 74 48 45 41 | 44 0d 70 75 74 20 6f 66 |startHEA|D.put of|
|00002310| 66 73 65 74 28 22 3c 2f | 48 45 41 44 3e 22 2c 66 |fset("</|HEAD>",f|
|00002320| 6c 64 20 22 62 6f 64 79 | 22 29 20 69 6e 74 6f 20 |ld "body|") into |
|00002330| 65 6e 64 48 45 41 44 0d | 69 66 20 73 74 61 72 74 |endHEAD.|if start|
|00002340| 48 45 41 44 20 3d 20 30 | 20 61 6e 64 20 65 6e 64 |HEAD = 0| and end|
|00002350| 48 45 41 44 20 3d 20 30 | 20 74 68 65 6e 20 77 61 |HEAD = 0| then wa|
|00002360| 69 74 20 30 20 2d 2d 20 | 6e 6f 6f 70 3a 20 74 68 |it 0 -- |noop: th|
|00002370| 65 72 65 20 61 72 65 20 | 6e 6f 20 48 45 41 44 20 |ere are |no HEAD |
|00002380| 63 6f 64 65 73 0d 65 6c | 73 65 20 69 66 20 73 74 |codes.el|se if st|
|00002390| 61 72 74 48 45 41 44 20 | 3d 20 30 20 61 6e 64 20 |artHEAD |= 0 and |
|000023a0| 65 6e 64 48 45 41 44 20 | ad 20 30 20 74 68 65 6e |endHEAD |. 0 then|
|000023b0| 0d 70 72 6f 63 65 73 73 | 45 72 72 6f 72 20 22 4d |.process|Error "M|
|000023c0| 69 73 73 69 6e 67 20 73 | 74 61 72 74 20 74 61 67 |issing s|tart tag|
|000023d0| 20 d2 3c 48 45 41 44 3e | d3 20 66 6f 72 20 68 65 | .<HEAD>|. for he|
|000023e0| 61 64 65 72 2e 20 54 68 | 65 72 65 20 69 73 20 61 |ader. Th|ere is a|
|000023f0| 6e 20 65 6e 64 20 74 61 | 67 20 d2 3c 2f 48 45 41 |n end ta|g .</HEA|
|00002400| 44 3e d3 20 69 6e 20 74 | 68 65 20 64 6f 63 75 6d |D>. in t|he docum|
|00002410| 65 6e 74 20 62 6f 64 79 | 2e 22 0d 65 6c 73 65 20 |ent body|.".else |
|00002420| 69 66 20 73 74 61 72 74 | 48 45 41 44 20 ad 20 30 |if start|HEAD . 0|
|00002430| 20 61 6e 64 20 65 6e 64 | 48 65 61 64 20 3d 20 30 | and end|Head = 0|
|00002440| 20 74 68 65 6e 0d 70 72 | 6f 63 65 73 73 45 72 72 | then.pr|ocessErr|
|00002450| 6f 72 20 22 4d 69 73 73 | 69 6e 67 20 65 6e 64 20 |or "Miss|ing end |
|00002460| 74 61 67 20 d2 3c 2f 48 | 45 41 44 3e d3 20 66 6f |tag .</H|EAD>. fo|
|00002470| 72 20 68 65 61 64 65 72 | 2e 20 54 68 65 72 65 20 |r header|. There |
|00002480| 69 73 20 61 6e 20 73 74 | 61 72 74 20 74 61 67 20 |is an st|art tag |
|00002490| d2 3c 48 45 41 44 3e d3 | 20 69 6e 20 74 68 65 20 |.<HEAD>.| in the |
|000024a0| 64 6f 63 75 6d 65 6e 74 | 20 62 6f 64 79 2e 22 0d |document| body.".|
|000024b0| 65 6c 73 65 20 69 66 20 | 73 74 61 72 74 48 45 41 |else if |startHEA|
|000024c0| 44 20 b3 20 65 6e 64 48 | 45 41 44 20 74 68 65 6e |D . endH|EAD then|
|000024d0| 0d 70 72 6f 63 65 73 73 | 45 72 72 6f 72 20 22 45 |.process|Error "E|
|000024e0| 6e 64 20 74 61 67 20 d2 | 3c 2f 48 45 41 44 3e d3 |nd tag .|</HEAD>.|
|000024f0| 20 6f 63 63 75 72 73 20 | 62 65 66 6f 72 65 20 73 | occurs |before s|
|00002500| 74 61 72 74 20 74 61 67 | 20 d2 3c 48 45 41 44 3e |tart tag| .<HEAD>|
|00002510| d3 20 69 6e 20 74 68 65 | 20 64 6f 63 75 6d 65 6e |. in the| documen|
|00002520| 74 2e 22 0d 65 6c 73 65 | 20 2d 2d 20 4f 4b 20 73 |t.".else| -- OK s|
|00002530| 79 6e 74 61 78 0d 67 65 | 74 20 63 68 61 72 20 73 |yntax.ge|t char s|
|00002540| 74 61 72 74 48 45 41 44 | 20 74 6f 20 28 65 6e 64 |tartHEAD| to (end|
|00002550| 48 45 41 44 2b 36 29 20 | 6f 66 20 66 6c 64 20 22 |HEAD+6) |of fld "|
|00002560| 62 6f 64 79 22 0d 70 75 | 74 20 69 74 20 61 66 74 |body".pu|t it aft|
|00002570| 65 72 20 66 6c 64 20 22 | 68 65 61 64 65 72 22 0d |er fld "|header".|
|00002580| 64 65 6c 65 74 65 20 63 | 68 61 72 20 73 74 61 72 |delete c|har star|
|00002590| 74 48 45 41 44 20 74 6f | 20 28 65 6e 64 48 45 41 |tHEAD to| (endHEA|
|000025a0| 44 2b 36 29 20 6f 66 20 | 66 6c 64 20 22 62 6f 64 |D+6) of |fld "bod|
|000025b0| 79 22 0d 69 66 20 63 68 | 61 72 20 31 20 6f 66 20 |y".if ch|ar 1 of |
|000025c0| 66 6c 64 20 22 62 6f 64 | 79 22 20 69 73 20 72 65 |fld "bod|y" is re|
|000025d0| 74 75 72 6e 20 74 68 65 | 6e 20 64 65 6c 65 74 65 |turn the|n delete|
|000025e0| 20 63 68 61 72 20 31 20 | 6f 66 20 66 6c 64 20 22 | char 1 |of fld "|
|000025f0| 62 6f 64 79 22 0d 65 6e | 64 20 69 66 0d 65 6e 64 |body".en|d if.end|
|00002600| 20 69 66 0d 65 6e 64 20 | 70 61 72 73 65 48 45 41 | if.end |parseHEA|
|00002610| 44 0d 0d 6f 6e 20 70 61 | 72 73 65 46 4f 4f 54 20 |D..on pa|rseFOOT |
|00002620| 2d 2d 20 6d 6f 76 65 20 | 65 76 65 72 79 74 68 69 |-- move |everythi|
|00002630| 6e 67 20 70 61 73 74 20 | 3c 2f 42 4f 44 59 3e 20 |ng past |</BODY> |
|00002640| 74 6f 20 66 6f 6f 74 65 | 72 0d 69 66 20 22 3c 2f |to foote|r.if "</|
|00002650| 42 4f 44 59 3e 22 20 69 | 73 20 69 6e 20 66 6c 64 |BODY>" i|s in fld|
|00002660| 20 22 62 6f 64 79 22 20 | 74 68 65 6e 0d 70 75 74 | "body" |then.put|
|00002670| 20 6f 66 66 73 65 74 28 | 22 3c 2f 42 4f 44 59 3e | offset(|"</BODY>|
|00002680| 22 2c 66 6c 64 20 22 62 | 6f 64 79 22 29 2b 37 20 |",fld "b|ody")+7 |
|00002690| 69 6e 74 6f 20 73 74 61 | 72 74 46 4f 4f 54 0d 70 |into sta|rtFOOT.p|
|000026a0| 75 74 20 6c 65 6e 67 74 | 68 28 66 6c 64 20 22 62 |ut lengt|h(fld "b|
|000026b0| 6f 64 79 22 29 20 69 6e | 74 6f 20 65 6e 64 46 4f |ody") in|to endFO|
|000026c0| 4f 54 0d 70 75 74 20 63 | 68 61 72 20 73 74 61 72 |OT.put c|har star|
|000026d0| 74 46 4f 4f 54 20 74 6f | 20 65 6e 64 46 4f 4f 54 |tFOOT to| endFOOT|
|000026e0| 20 6f 66 20 66 6c 64 20 | 22 62 6f 64 79 22 20 69 | of fld |"body" i|
|000026f0| 6e 74 6f 20 66 6c 64 20 | 22 66 6f 6f 74 65 72 22 |nto fld |"footer"|
|00002700| 0d 64 65 6c 65 74 65 20 | 63 68 61 72 20 73 74 61 |.delete |char sta|
|00002710| 72 74 46 4f 4f 54 20 74 | 6f 20 65 6e 64 46 4f 4f |rtFOOT t|o endFOO|
|00002720| 54 20 6f 66 20 66 6c 64 | 20 22 62 6f 64 79 22 0d |T of fld| "body".|
|00002730| 65 6e 64 20 69 66 0d 65 | 6e 64 20 70 61 72 73 65 |end if.e|nd parse|
|00002740| 46 4f 4f 54 0d 0d 6f 6e | 20 48 54 4d 4c 4c 61 6e |FOOT..on| HTMLLan|
|00002750| 67 75 61 67 65 20 2d 2d | 20 72 65 6d 6f 76 65 20 |guage --| remove |
|00002760| 63 75 72 72 65 6e 74 20 | 3c 48 54 4d 4c 3e 20 61 |current |<HTML> a|
|00002770| 73 20 65 78 74 72 61 6e | 65 6f 75 73 20 74 68 65 |s extran|eous the|
|00002780| 6e 20 72 65 70 6c 61 63 | 65 20 69 6e 20 63 6f 72 |n replac|e in cor|
|00002790| 72 65 63 74 20 70 6c 61 | 63 65 0d 6c 6f 63 6b 20 |rect pla|ce.lock |
|000027a0| 73 63 72 65 65 6e 0d 67 | 65 74 20 64 65 6c 65 74 |screen.g|et delet|
|000027b0| 65 48 54 4d 4c 28 22 3c | 48 54 4d 4c 3e 22 29 0d |eHTML("<|HTML>").|
|000027c0| 69 66 20 66 69 72 73 74 | 20 63 68 61 72 20 6f 66 |if first| char of|
|000027d0| 20 66 6c 64 20 22 68 65 | 61 64 65 72 22 20 ad 20 | fld "he|ader" . |
|000027e0| 72 65 74 75 72 6e 20 61 | 6e 64 20 66 6c 64 20 22 |return a|nd fld "|
|000027f0| 68 65 61 64 65 72 22 20 | ad 20 65 6d 70 74 79 20 |header" |. empty |
|00002800| 74 68 65 6e 20 70 75 74 | 20 72 65 74 75 72 6e 20 |then put| return |
|00002810| 62 65 66 6f 72 65 20 66 | 6c 64 20 22 68 65 61 64 |before f|ld "head|
|00002820| 65 72 22 0d 70 75 74 20 | 22 3c 48 54 4d 4c 3e 22 |er".put |"<HTML>"|
|00002830| 20 62 65 66 6f 72 65 20 | 66 6c 64 20 22 68 65 61 | before |fld "hea|
|00002840| 64 65 72 22 0d 69 66 20 | 6c 61 73 74 20 63 68 61 |der".if |last cha|
|00002850| 72 20 6f 66 20 66 6c 64 | 20 22 66 6f 6f 74 65 72 |r of fld| "footer|
|00002860| 22 20 ad 20 72 65 74 75 | 72 6e 20 61 6e 64 20 66 |" . retu|rn and f|
|00002870| 6c 64 20 22 66 6f 6f 74 | 65 72 22 20 ad 20 65 6d |ld "foot|er" . em|
|00002880| 70 74 79 20 74 68 65 6e | 20 70 75 74 20 72 65 74 |pty then| put ret|
|00002890| 75 72 6e 20 61 66 74 65 | 72 20 66 6c 64 20 22 66 |urn afte|r fld "f|
|000028a0| 6f 6f 74 65 72 22 0d 70 | 75 74 20 22 3c 2f 48 54 |ooter".p|ut "</HT|
|000028b0| 4d 4c 3e 22 20 61 66 74 | 65 72 20 66 6c 64 20 22 |ML>" aft|er fld "|
|000028c0| 66 6f 6f 74 65 72 22 0d | 75 6e 6c 6f 63 6b 20 73 |footer".|unlock s|
|000028d0| 63 72 65 65 6e 0d 65 6e | 64 20 48 54 4d 4c 4c 61 |creen.en|d HTMLLa|
|000028e0| 6e 67 75 61 67 65 0d 0d | 6f 6e 20 48 54 4d 4c 48 |nguage..|on HTMLH|
|000028f0| 65 61 64 65 72 20 2d 2d | 20 61 64 64 20 74 61 67 |eader --| add tag|
|00002900| 73 20 74 6f 20 68 65 61 | 64 65 72 0d 69 66 20 22 |s to hea|der.if "|
|00002910| 3c 48 45 41 44 3e 22 20 | 69 73 20 6e 6f 74 20 69 |<HEAD>" |is not i|
|00002920| 6e 20 66 6c 64 20 22 68 | 65 61 64 65 72 22 20 74 |n fld "h|eader" t|
|00002930| 68 65 6e 0d 69 66 20 22 | 3c 48 54 4d 4c 3e 22 20 |hen.if "|<HTML>" |
|00002940| 69 73 20 69 6e 20 66 6c | 64 20 22 68 65 61 64 65 |is in fl|d "heade|
|00002950| 72 22 20 74 68 65 6e 20 | 70 75 74 20 72 65 74 75 |r" then |put retu|
|00002960| 72 6e 26 22 3c 48 45 41 | 44 3e 22 20 61 66 74 65 |rn&"<HEA|D>" afte|
|00002970| 72 20 63 68 61 72 20 28 | 6f 66 66 73 65 74 28 22 |r char (|offset("|
|00002980| 3c 48 54 4d 4c 3e 22 2c | 66 6c 64 20 22 68 65 61 |<HTML>",|fld "hea|
|00002990| 64 65 72 22 29 2b 35 29 | 20 6f 66 20 66 6c 64 20 |der")+5)| of fld |
|000029a0| 22 68 65 61 64 65 72 22 | 0d 65 6c 73 65 20 70 75 |"header"|.else pu|
|000029b0| 74 20 22 3c 48 45 41 44 | 3e 22 20 62 65 66 6f 72 |t "<HEAD|>" befor|
|000029c0| 65 20 66 6c 64 20 22 68 | 65 61 64 65 72 22 0d 65 |e fld "h|eader".e|
|000029d0| 6e 64 20 69 66 0d 69 66 | 20 22 3c 2f 48 45 41 44 |nd if.if| "</HEAD|
|000029e0| 3e 22 20 69 73 20 6e 6f | 74 20 69 6e 20 66 6c 64 |>" is no|t in fld|
|000029f0| 20 22 68 65 61 64 65 72 | 22 20 74 68 65 6e 0d 69 | "header|" then.i|
|00002a00| 66 20 6c 61 73 74 20 63 | 68 61 72 20 6f 66 20 66 |f last c|har of f|
|00002a10| 6c 64 20 22 68 65 61 64 | 65 72 22 20 ad 20 72 65 |ld "head|er" . re|
|00002a20| 74 75 72 6e 20 74 68 65 | 6e 20 70 75 74 20 72 65 |turn the|n put re|
|00002a30| 74 75 72 6e 20 61 66 74 | 65 72 20 66 6c 64 20 22 |turn aft|er fld "|
|00002a40| 68 65 61 64 65 72 22 0d | 70 75 74 20 22 3c 2f 48 |header".|put "</H|
|00002a50| 45 41 44 3e 22 20 61 66 | 74 65 72 20 66 6c 64 20 |EAD>" af|ter fld |
|00002a60| 22 68 65 61 64 65 72 22 | 0d 65 6e 64 20 69 66 0d |"header"|.end if.|
|00002a70| 65 6e 64 20 48 54 4d 4c | 48 65 61 64 65 72 0d 0d |end HTML|Header..|
|00002a80| 6f 6e 20 48 54 4d 4c 54 | 69 74 6c 65 0d 61 73 6b |on HTMLT|itle.ask|
|00002a90| 20 22 45 6e 74 65 72 20 | 74 68 65 20 6f 6e 6c 69 | "Enter |the onli|
|00002aa0| 6e 65 20 74 69 74 6c 65 | 20 66 6f 72 20 74 68 69 |ne title| for thi|
|00002ab0| 73 20 64 6f 63 75 6d 65 | 6e 74 3a 22 20 77 69 74 |s docume|nt:" wit|
|00002ac0| 68 20 22 44 6f 63 75 6d | 65 6e 74 20 54 69 74 6c |h "Docum|ent Titl|
|00002ad0| 65 22 0d 69 66 20 69 74 | 20 ad 20 65 6d 70 74 79 |e".if it| . empty|
|00002ae0| 20 74 68 65 6e 20 67 65 | 74 20 22 3c 54 49 54 4c | then ge|t "<TITL|
|00002af0| 45 3e 22 26 69 74 26 22 | 3c 2f 54 49 54 4c 45 3e |E>"&it&"|</TITLE>|
|00002b00| 22 0d 65 6c 73 65 20 65 | 78 69 74 20 48 54 4d 4c |".else e|xit HTML|
|00002b10| 54 69 74 6c 65 0d 69 66 | 20 22 3c 54 49 54 4c 45 |Title.if| "<TITLE|
|00002b20| 3e 22 20 69 73 20 69 6e | 20 66 6c 64 20 22 68 65 |>" is in| fld "he|
|00002b30| 61 64 65 72 22 20 61 6e | 64 20 22 3c 2f 54 49 54 |ader" an|d "</TIT|
|00002b40| 4c 45 3e 22 20 69 73 20 | 69 6e 20 66 6c 64 20 22 |LE>" is |in fld "|
|00002b50| 68 65 61 64 65 72 22 20 | 74 68 65 6e 0d 70 75 74 |header" |then.put|
|00002b60| 20 69 74 20 69 6e 74 6f | 20 63 68 61 72 20 6f 66 | it into| char of|
|00002b70| 66 73 65 74 28 22 3c 54 | 49 54 4c 45 3e 22 2c 66 |fset("<T|ITLE>",f|
|00002b80| 6c 64 20 22 68 65 61 64 | 65 72 22 29 20 74 6f 20 |ld "head|er") to |
|00002b90| 28 6f 66 66 73 65 74 28 | 22 3c 2f 54 49 54 4c 45 |(offset(|"</TITLE|
|00002ba0| 3e 22 2c 66 6c 64 20 22 | 68 65 61 64 65 72 22 29 |>",fld "|header")|
|00002bb0| 2b 37 29 20 6f 66 20 66 | 6c 64 20 22 68 65 61 64 |+7) of f|ld "head|
|00002bc0| 65 72 22 0d 65 6c 73 65 | 20 69 66 20 22 3c 48 45 |er".else| if "<HE|
|00002bd0| 41 44 3e 22 20 69 73 20 | 69 6e 20 66 6c 64 20 22 |AD>" is |in fld "|
|00002be0| 68 65 61 64 65 72 22 20 | 74 68 65 6e 20 70 75 74 |header" |then put|
|00002bf0| 20 72 65 74 75 72 6e 26 | 69 74 20 61 66 74 65 72 | return&|it after|
|00002c00| 20 63 68 61 72 20 28 6f | 66 66 73 65 74 28 22 3c | char (o|ffset("<|
|00002c10| 48 45 41 44 3e 22 2c 66 | 6c 64 20 22 68 65 61 64 |HEAD>",f|ld "head|
|00002c20| 65 72 22 29 2b 35 29 20 | 6f 66 20 66 6c 64 20 22 |er")+5) |of fld "|
|00002c30| 68 65 61 64 65 72 22 0d | 65 6c 73 65 20 69 66 20 |header".|else if |
|00002c40| 22 3c 48 54 4d 4c 3e 22 | 20 69 73 20 69 6e 20 66 |"<HTML>"| is in f|
|00002c50| 6c 64 20 22 68 65 61 64 | 65 72 22 20 74 68 65 6e |ld "head|er" then|
|00002c60| 20 70 75 74 20 72 65 74 | 75 72 6e 26 69 74 20 61 | put ret|urn&it a|
|00002c70| 66 74 65 72 20 63 68 61 | 72 20 28 6f 66 66 73 65 |fter cha|r (offse|
|00002c80| 74 28 22 3c 48 54 4d 4c | 3e 22 2c 66 6c 64 20 22 |t("<HTML|>",fld "|
|00002c90| 68 65 61 64 65 72 22 29 | 2b 35 29 20 6f 66 20 66 |header")|+5) of f|
|00002ca0| 6c 64 20 22 68 65 61 64 | 65 72 22 0d 65 6c 73 65 |ld "head|er".else|
|00002cb0| 20 70 75 74 20 69 74 20 | 62 65 66 6f 72 65 20 66 | put it |before f|
|00002cc0| 6c 64 20 22 68 65 61 64 | 65 72 22 0d 65 6e 64 20 |ld "head|er".end |
|00002cd0| 48 54 4d 4c 54 69 74 6c | 65 0d 0d 6f 6e 20 48 54 |HTMLTitl|e..on HT|
|00002ce0| 4d 4c 43 6f 6d 6d 65 6e | 74 20 2d 2d 20 69 6e 20 |MLCommen|t -- in |
|00002cf0| 70 72 6f 67 72 65 73 73 | 2e 20 63 6f 6d 6d 65 6e |progress|. commen|
|00002d00| 74 73 20 74 68 65 20 73 | 65 6c 65 63 74 69 6f 6e |ts the s|election|
|00002d10| 2e 0d 70 75 74 20 77 6f | 72 64 20 32 20 6f 66 20 |..put wo|rd 2 of |
|00002d20| 74 68 65 20 73 65 6c 65 | 63 74 65 64 4c 69 6e 65 |the sele|ctedLine|
|00002d30| 20 69 6e 74 6f 20 63 75 | 72 72 65 6e 74 4c 69 6e | into cu|rrentLin|
|00002d40| 65 0d 70 75 74 20 6c 69 | 6e 65 20 63 75 72 72 65 |e.put li|ne curre|
|00002d50| 6e 74 4c 69 6e 65 20 6f | 66 20 74 68 65 20 74 61 |ntLine o|f the ta|
|00002d60| 72 67 65 74 20 69 6e 74 | 6f 20 6c 69 6e 65 54 65 |rget int|o lineTe|
|00002d70| 78 74 0d 72 65 70 65 61 | 74 20 77 69 74 68 20 69 |xt.repea|t with i|
|00002d80| 20 3d 20 31 20 74 6f 20 | 6e 75 6d 62 65 72 28 6c | = 1 to |number(l|
|00002d90| 69 6e 65 73 20 69 6e 20 | 74 68 65 20 74 61 72 67 |ines in |the targ|
|00002da0| 65 74 29 20 2b 20 31 0d | 69 66 20 6c 69 6e 65 20 |et) + 1.|if line |
|00002db0| 69 20 6f 66 20 74 68 65 | 20 74 61 72 67 65 74 20 |i of the| target |
|00002dc0| 69 73 20 65 6d 70 74 79 | 20 74 68 65 6e 20 6e 65 |is empty| then ne|
|00002dd0| 78 74 20 72 65 70 65 61 | 74 0d 69 66 20 63 68 61 |xt repea|t.if cha|
|00002de0| 72 20 31 20 74 6f 20 34 | 20 6f 66 20 6c 69 6e 65 |r 1 to 4| of line|
|00002df0| 20 69 20 6f 66 20 74 68 | 65 20 74 61 72 67 65 74 | i of th|e target|
|00002e00| 20 69 73 20 6e 6f 74 20 | 22 3c 21 2d 2d 22 20 74 | is not |"<!--" t|
|00002e10| 68 65 6e 20 70 75 74 20 | 22 3c 21 2d 2d 20 22 20 |hen put |"<!-- " |
|00002e20| 62 65 66 6f 72 65 20 6c | 69 6e 65 20 69 20 6f 66 |before l|ine i of|
|00002e30| 20 74 68 65 20 74 61 72 | 67 65 74 0d 69 66 20 6c | the tar|get.if l|
|00002e40| 61 73 74 20 63 68 61 72 | 20 6f 66 20 6c 69 6e 65 |ast char| of line|
|00002e50| 20 69 20 6f 66 20 74 68 | 65 20 74 61 72 67 65 74 | i of th|e target|
|00002e60| 20 69 73 20 6e 6f 74 20 | 22 3e 22 20 74 68 65 6e | is not |">" then|
|00002e70| 20 70 75 74 20 22 20 3e | 22 20 61 66 74 65 72 20 | put " >|" after |
|00002e80| 6c 69 6e 65 20 69 20 6f | 66 20 74 68 65 20 74 61 |line i o|f the ta|
|00002e90| 72 67 65 74 0d 65 6e 64 | 20 72 65 70 65 61 74 0d |rget.end| repeat.|
|00002ea0| 63 68 61 72 61 63 74 65 | 72 43 6f 75 6e 74 0d 69 |characte|rCount.i|
|00002eb0| 66 20 63 75 72 72 65 6e | 74 4c 69 6e 65 20 3e 20 |f curren|tLine > |
|00002ec0| 30 20 74 68 65 6e 20 64 | 6f 20 22 73 65 6c 65 63 |0 then d|o "selec|
|00002ed0| 74 20 61 66 74 65 72 20 | 6c 69 6e 65 22 26 26 63 |t after |line"&&c|
|00002ee0| 75 72 72 65 6e 74 4c 69 | 6e 65 26 26 22 6f 66 20 |urrentLi|ne&&"of |
|00002ef0| 74 68 65 20 74 61 72 67 | 65 74 22 0d 65 6e 64 20 |the targ|et".end |
|00002f00| 48 54 4d 4c 43 6f 6d 6d | 65 6e 74 0d 0d 6f 6e 20 |HTMLComm|ent..on |
|00002f10| 48 54 4d 4c 42 6f 64 79 | 0d 6c 6f 63 6b 20 73 63 |HTMLBody|.lock sc|
|00002f20| 72 65 65 6e 0d 67 65 74 | 20 64 65 6c 65 74 65 48 |reen.get| deleteH|
|00002f30| 54 4d 4c 28 22 3c 42 4f | 44 59 3e 22 29 0d 69 66 |TML("<BO|DY>").if|
|00002f40| 20 22 3c 42 4f 44 59 3e | 22 20 69 73 20 6e 6f 74 | "<BODY>|" is not|
|00002f50| 20 69 6e 20 66 6c 64 20 | 22 62 6f 64 79 22 20 74 | in fld |"body" t|
|00002f60| 68 65 6e 20 70 75 74 20 | 22 3c 42 4f 44 59 3e 22 |hen put |"<BODY>"|
|00002f70| 26 72 65 74 75 72 6e 20 | 62 65 66 6f 72 65 20 66 |&return |before f|
|00002f80| 6c 64 20 22 62 6f 64 79 | 22 0d 69 66 20 22 3c 2f |ld "body|".if "</|
|00002f90| 42 4f 44 59 3e 22 20 69 | 73 20 6e 6f 74 20 69 6e |BODY>" i|s not in|
|00002fa0| 20 66 6c 64 20 22 62 6f | 64 79 22 20 74 68 65 6e | fld "bo|dy" then|
|00002fb0| 0d 69 66 20 6c 61 73 74 | 20 63 68 61 72 20 6f 66 |.if last| char of|
|00002fc0| 20 66 6c 64 20 22 62 6f | 64 79 22 20 ad 20 72 65 | fld "bo|dy" . re|
|00002fd0| 74 75 72 6e 20 74 68 65 | 6e 20 70 75 74 20 72 65 |turn the|n put re|
|00002fe0| 74 75 72 6e 20 61 66 74 | 65 72 20 66 6c 64 20 22 |turn aft|er fld "|
|00002ff0| 62 6f 64 79 22 0d 70 75 | 74 20 22 3c 2f 42 4f 44 |body".pu|t "</BOD|
|00003000| 59 3e 22 20 61 66 74 65 | 72 20 66 6c 64 20 22 62 |Y>" afte|r fld "b|
|00003010| 6f 64 79 22 0d 65 6e 64 | 20 69 66 0d 75 6e 6c 6f |ody".end| if.unlo|
|00003020| 63 6b 20 73 63 72 65 65 | 6e 0d 65 6e 64 20 48 54 |ck scree|n.end HT|
|00003030| 4d 4c 42 6f 64 79 0d 0d | 6f 6e 20 48 54 4d 4c 20 |MLBody..|on HTML |
|00003040| 69 20 2d 2d 20 6d 6f 64 | 69 66 79 20 74 65 78 74 |i -- mod|ify text|
|00003050| 20 73 65 6c 65 63 74 69 | 6f 6e 20 77 69 74 68 20 | selecti|on with |
|00003060| 48 54 4d 4c 20 63 6f 64 | 65 73 0d 67 6c 6f 62 61 |HTML cod|es.globa|
|00003070| 6c 20 68 65 61 64 69 6e | 67 4e 75 6d 62 65 72 0d |l headin|gNumber.|
|00003080| 49 46 20 69 20 3d 20 22 | 49 6d 61 67 65 2e 2e 2e |IF i = "|Image...|
|00003090| 22 20 74 68 65 6e 20 48 | 54 4d 4c 49 6d 61 67 65 |" then H|TMLImage|
|000030a0| 0d 45 4c 53 45 20 69 66 | 20 6e 6f 74 20 65 6d 70 |.ELSE if| not emp|
|000030b0| 74 79 53 65 6c 65 63 74 | 69 6f 6e 28 29 20 74 68 |tySelect|ion() th|
|000030c0| 65 6e 20 2d 2d 20 6d 61 | 6b 65 20 73 75 72 65 20 |en -- ma|ke sure |
|000030d0| 73 6f 6d 65 20 74 65 78 | 74 20 77 61 73 20 73 65 |some tex|t was se|
|000030e0| 6c 65 63 74 65 64 0d 67 | 65 74 20 65 6d 70 74 79 |lected.g|et empty|
|000030f0| 0d 69 66 20 69 20 3d 20 | 22 42 6f 6c 64 22 20 74 |.if i = |"Bold" t|
|00003100| 68 65 6e 20 67 65 74 20 | 22 3c 42 3e 22 26 22 2c |hen get |"<B>"&",|
|00003110| 22 26 22 3c 2f 42 3e 22 | 0d 65 6c 73 65 20 69 66 |"&"</B>"|.else if|
|00003120| 20 69 20 3d 20 22 43 69 | 74 61 74 69 6f 6e 22 20 | i = "Ci|tation" |
|00003130| 74 68 65 6e 20 67 65 74 | 20 22 3c 43 49 54 45 3e |then get| "<CITE>|
|00003140| 22 26 22 2c 22 26 22 3c | 2f 43 49 54 45 3e 22 0d |"&","&"<|/CITE>".|
|00003150| 65 6c 73 65 20 69 66 20 | 69 20 3d 20 22 43 6f 6d |else if |i = "Com|
|00003160| 6d 65 6e 74 22 20 74 68 | 65 6e 20 67 65 74 20 22 |ment" th|en get "|
|00003170| 3c 21 2d 2d 20 22 26 22 | 2c 22 26 22 20 3e 22 0d |<!-- "&"|,"&" >".|
|00003180| 65 6c 73 65 20 69 66 20 | 69 20 3d 20 22 45 6d 70 |else if |i = "Emp|
|00003190| 68 61 73 69 73 22 20 74 | 68 65 6e 20 67 65 74 20 |hasis" t|hen get |
|000031a0| 22 3c 45 4d 3e 22 26 22 | 2c 22 26 22 3c 2f 45 4d |"<EM>"&"|,"&"</EM|
|000031b0| 3e 22 0d 65 6c 73 65 20 | 69 66 20 69 20 3d 20 22 |>".else |if i = "|
|000031c0| 49 74 61 6c 69 63 22 20 | 74 68 65 6e 20 67 65 74 |Italic" |then get|
|000031d0| 20 22 3c 49 3e 22 26 22 | 2c 22 26 22 3c 2f 49 3e | "<I>"&"|,"&"</I>|
|000031e0| 22 0d 65 6c 73 65 20 69 | 66 20 69 20 3d 20 22 4c |".else i|f i = "L|
|000031f0| 69 73 74 69 6e 67 22 20 | 74 68 65 6e 20 67 65 74 |isting" |then get|
|00003200| 20 22 3c 4c 49 53 54 49 | 4e 47 3e 22 26 22 2c 22 | "<LISTI|NG>"&","|
|00003210| 26 22 3c 2f 4c 49 53 54 | 49 4e 47 3e 22 0d 65 6c |&"</LIST|ING>".el|
|00003220| 73 65 20 69 66 20 69 20 | 3d 20 22 50 6c 61 69 6e |se if i |= "Plain|
|00003230| 20 54 65 78 74 22 20 74 | 68 65 6e 20 67 65 74 20 | Text" t|hen get |
|00003240| 22 3c 43 4f 44 45 3e 22 | 26 22 2c 22 26 22 3c 2f |"<CODE>"|&","&"</|
|00003250| 43 4f 44 45 3e 22 0d 65 | 6c 73 65 20 69 66 20 69 |CODE>".e|lse if i|
|00003260| 20 3d 20 22 53 74 72 6f | 6e 67 20 45 6d 70 68 61 | = "Stro|ng Empha|
|00003270| 73 69 73 22 20 74 68 65 | 6e 20 67 65 74 20 22 3c |sis" the|n get "<|
|00003280| 53 54 52 4f 4e 47 3e 22 | 26 22 2c 22 26 22 3c 2f |STRONG>"|&","&"</|
|00003290| 53 54 52 4f 4e 47 3e 22 | 0d 65 6c 73 65 20 69 66 |STRONG>"|.else if|
|000032a0| 20 69 20 3d 20 22 54 79 | 70 65 77 72 69 74 65 72 | i = "Ty|pewriter|
|000032b0| 22 20 74 68 65 6e 20 67 | 65 74 20 22 3c 54 54 3e |" then g|et "<TT>|
|000032c0| 22 26 22 2c 22 26 22 3c | 2f 54 54 3e 22 0d 65 6c |"&","&"<|/TT>".el|
|000032d0| 73 65 20 69 66 20 69 20 | 3d 20 22 50 72 65 66 6f |se if i |= "Prefo|
|000032e0| 72 6d 61 74 74 65 64 22 | 20 74 68 65 6e 20 67 65 |rmatted"| then ge|
|000032f0| 74 20 22 3c 50 52 45 3e | 22 26 22 2c 22 26 22 3c |t "<PRE>|"&","&"<|
|00003300| 2f 50 52 45 3e 22 0d 65 | 6c 73 65 20 69 66 20 69 |/PRE>".e|lse if i|
|00003310| 20 3d 20 22 54 69 74 6c | 65 22 20 74 68 65 6e 20 | = "Titl|e" then |
|00003320| 67 65 74 20 22 3c 54 49 | 54 4c 45 3e 22 26 22 2c |get "<TI|TLE>"&",|
|00003330| 22 26 22 3c 2f 54 49 54 | 4c 45 3e 22 0d 65 6c 73 |"&"</TIT|LE>".els|
|00003340| 65 20 69 66 20 69 20 3d | 20 22 55 6e 64 65 72 6c |e if i =| "Underl|
|00003350| 69 6e 65 22 20 74 68 65 | 6e 20 67 65 74 20 22 3c |ine" the|n get "<|
|00003360| 55 3e 22 26 22 2c 22 26 | 22 3c 2f 55 3e 22 0d 65 |U>"&","&|"</U>".e|
|00003370| 6c 73 65 20 69 66 20 69 | 20 3d 20 22 48 65 61 64 |lse if i| = "Head|
|00003380| 69 6e 67 22 20 74 68 65 | 6e 20 67 65 74 20 22 3c |ing" the|n get "<|
|00003390| 48 22 26 68 65 61 64 69 | 6e 67 4e 75 6d 62 65 72 |H"&headi|ngNumber|
|000033a0| 26 22 3e 22 20 26 20 22 | 2c 22 20 26 20 22 3c 2f |&">" & "|," & "</|
|000033b0| 48 22 26 68 65 61 64 69 | 6e 67 4e 75 6d 62 65 72 |H"&headi|ngNumber|
|000033c0| 26 22 3e 22 0d 69 66 20 | 69 74 20 ad 20 65 6d 70 |&">".if |it . emp|
|000033d0| 74 79 20 74 68 65 6e 20 | 2d 2d 20 77 65 27 76 65 |ty then |-- we've|
|000033e0| 20 66 6f 75 6e 64 20 74 | 68 65 20 63 6f 64 65 2c | found t|he code,|
|000033f0| 20 73 6f 20 6d 6f 64 69 | 66 79 20 74 68 65 20 74 | so modi|fy the t|
|00003400| 65 78 74 3a 0d 70 75 74 | 20 69 74 65 6d 20 31 20 |ext:.put| item 1 |
|00003410| 6f 66 20 69 74 20 62 65 | 66 6f 72 65 20 74 68 65 |of it be|fore the|
|00003420| 20 73 65 6c 65 63 74 69 | 6f 6e 0d 70 75 74 20 69 | selecti|on.put i|
|00003430| 74 65 6d 20 32 20 6f 66 | 20 69 74 20 61 66 74 65 |tem 2 of| it afte|
|00003440| 72 20 74 68 65 20 73 65 | 6c 65 63 74 69 6f 6e 0d |r the se|lection.|
|00003450| 65 6c 73 65 20 69 66 20 | 69 20 3d 20 22 41 64 64 |else if |i = "Add|
|00003460| 72 65 73 73 22 20 74 68 | 65 6e 20 48 54 4d 4c 41 |ress" th|en HTMLA|
|00003470| 64 64 72 65 73 73 0d 65 | 6c 73 65 20 69 66 20 69 |ddress.e|lse if i|
|00003480| 20 3d 20 22 42 6c 6f 63 | 6b 71 75 6f 74 65 22 20 | = "Bloc|kquote" |
|00003490| 74 68 65 6e 20 48 54 4d | 4c 42 6c 6f 63 6b 71 75 |then HTM|LBlockqu|
|000034a0| 6f 74 65 0d 65 6c 73 65 | 20 69 66 20 69 20 3d 20 |ote.else| if i = |
|000034b0| 22 42 75 6c 6c 65 74 65 | 64 20 4c 69 73 74 22 20 |"Bullete|d List" |
|000034c0| 74 68 65 6e 20 48 54 4d | 4c 42 75 6c 6c 65 74 65 |then HTM|LBullete|
|000034d0| 64 0d 65 6c 73 65 20 69 | 66 20 69 20 3d 20 22 53 |d.else i|f i = "S|
|000034e0| 68 6f 72 74 20 44 61 74 | 65 22 20 74 68 65 6e 20 |hort Dat|e" then |
|000034f0| 70 75 74 20 22 7b 53 68 | 6f 72 74 20 44 61 74 65 |put "{Sh|ort Date|
|00003500| 7d 22 20 69 6e 74 6f 20 | 74 68 65 20 73 65 6c 65 |}" into |the sele|
|00003510| 63 74 69 6f 6e 0d 65 6c | 73 65 20 69 66 20 69 20 |ction.el|se if i |
|00003520| 3d 20 22 41 62 62 72 65 | 76 69 61 74 65 64 20 44 |= "Abbre|viated D|
|00003530| 61 74 65 22 20 74 68 65 | 6e 20 70 75 74 20 22 7b |ate" the|n put "{|
|00003540| 41 62 62 72 65 76 69 61 | 74 65 64 20 44 61 74 65 |Abbrevia|ted Date|
|00003550| 7d 22 20 69 6e 74 6f 20 | 74 68 65 20 73 65 6c 65 |}" into |the sele|
|00003560| 63 74 69 6f 6e 0d 65 6c | 73 65 20 69 66 20 69 20 |ction.el|se if i |
|00003570| 3d 20 22 4c 6f 6e 67 20 | 44 61 74 65 22 20 74 68 |= "Long |Date" th|
|00003580| 65 6e 20 70 75 74 20 22 | 7b 4c 6f 6e 67 20 44 61 |en put "|{Long Da|
|00003590| 74 65 7d 22 20 69 6e 74 | 6f 20 74 68 65 20 73 65 |te}" int|o the se|
|000035a0| 6c 65 63 74 69 6f 6e 0d | 65 6c 73 65 20 69 66 20 |lection.|else if |
|000035b0| 69 20 3d 20 22 47 6c 6f | 73 73 61 72 79 22 20 74 |i = "Glo|ssary" t|
|000035c0| 68 65 6e 20 48 54 4d 4c | 47 6c 6f 73 73 61 72 79 |hen HTML|Glossary|
|000035d0| 0d 65 6c 73 65 20 69 66 | 20 69 20 3d 20 22 44 69 |.else if| i = "Di|
|000035e0| 72 65 63 74 6f 72 79 22 | 20 74 68 65 6e 20 48 54 |rectory"| then HT|
|000035f0| 4d 4c 44 69 72 65 63 74 | 6f 72 79 0d 65 6c 73 65 |MLDirect|ory.else|
|00003600| 20 69 66 20 69 20 3d 20 | 22 4d 65 6e 75 22 20 74 | if i = |"Menu" t|
|00003610| 68 65 6e 20 48 54 4d 4c | 4d 65 6e 75 0d 65 6c 73 |hen HTML|Menu.els|
|00003620| 65 20 69 66 20 69 20 3d | 20 22 4e 75 6d 62 65 72 |e if i =| "Number|
|00003630| 65 64 20 4c 69 73 74 22 | 20 74 68 65 6e 20 48 54 |ed List"| then HT|
|00003640| 4d 4c 4e 75 6d 62 65 72 | 65 64 0d 65 6c 73 65 20 |MLNumber|ed.else |
|00003650| 69 66 20 69 20 3d 20 22 | 50 4c 41 49 4e 54 45 58 |if i = "|PLAINTEX|
|00003660| 54 22 20 74 68 65 6e 20 | 70 75 74 20 22 3c 50 4c |T" then |put "<PL|
|00003670| 41 49 4e 54 45 58 54 3e | 22 20 61 66 74 65 72 20 |AINTEXT>|" after |
|00003680| 74 68 65 20 73 65 6c 65 | 63 74 69 6f 6e 0d 65 6c |the sele|ction.el|
|00003690| 73 65 0d 70 75 74 20 22 | 48 54 4d 4c 20 45 52 52 |se.put "|HTML ERR|
|000036a0| 4f 52 3a 20 22 26 71 75 | 6f 74 65 26 69 26 71 75 |OR: "&qu|ote&i&qu|
|000036b0| 6f 74 65 0d 65 78 69 74 | 20 48 54 4d 4c 0d 65 6e |ote.exit| HTML.en|
|000036c0| 64 20 69 66 0d 45 4e 44 | 20 49 46 0d 65 6e 64 20 |d if.END| IF.end |
|000036d0| 48 54 4d 4c 0d 0d 6f 6e | 20 48 54 4d 4c 47 6c 6f |HTML..on| HTMLGlo|
|000036e0| 73 73 61 72 79 0d 69 66 | 20 65 6d 70 74 79 53 65 |ssary.if| emptySe|
|000036f0| 6c 65 63 74 69 6f 6e 28 | 29 20 74 68 65 6e 20 65 |lection(|) then e|
|00003700| 78 69 74 20 48 54 4d 4c | 47 6c 6f 73 73 61 72 79 |xit HTML|Glossary|
|00003710| 0d 70 75 74 20 74 68 65 | 20 73 65 6c 65 63 74 69 |.put the| selecti|
|00003720| 6f 6e 20 69 6e 74 6f 20 | 74 68 65 54 65 78 74 0d |on into |theText.|
|00003730| 70 75 74 20 74 68 65 20 | 6e 75 6d 62 65 72 20 6f |put the |number o|
|00003740| 66 20 6c 69 6e 65 73 20 | 6f 66 20 74 68 65 54 65 |f lines |of theTe|
|00003750| 78 74 20 69 6e 74 6f 20 | 6e 0d 69 66 20 6e 20 6d |xt into |n.if n m|
|00003760| 6f 64 20 32 20 ad 20 30 | 20 74 68 65 6e 0d 61 6e |od 2 . 0| then.an|
|00003770| 73 77 65 72 20 22 48 54 | 4d 4c 20 45 52 52 4f 52 |swer "HT|ML ERROR|
|00003780| 3a 22 26 72 65 74 75 72 | 6e 26 22 54 68 65 20 74 |:"&retur|n&"The t|
|00003790| 65 78 74 20 73 65 6c 65 | 63 74 69 6f 6e 20 66 6f |ext sele|ction fo|
|000037a0| 72 20 61 6e 20 48 54 4d | 4c 20 47 6c 6f 73 73 61 |r an HTM|L Glossa|
|000037b0| 72 79 20 6d 75 73 74 20 | 62 65 20 61 6e 20 65 76 |ry must |be an ev|
|000037c0| 65 6e 20 6e 75 6d 62 65 | 72 20 22 26 c2 0d 22 6f |en numbe|r "&.."o|
|000037d0| 66 20 6c 69 6e 65 73 2e | 20 54 68 65 20 66 69 72 |f lines.| The fir|
|000037e0| 73 74 20 6c 69 6e 65 20 | 6f 66 20 65 61 63 68 20 |st line |of each |
|000037f0| 70 61 69 72 20 69 73 20 | 74 68 65 20 74 65 72 6d |pair is |the term|
|00003800| 2c 20 74 68 65 20 73 65 | 63 6f 6e 64 20 6c 69 6e |, the se|cond lin|
|00003810| 65 20 69 73 20 74 68 65 | 20 64 65 66 69 6e 69 74 |e is the| definit|
|00003820| 69 6f 6e 2e 22 0d 65 6c | 73 65 0d 72 65 70 65 61 |ion.".el|se.repea|
|00003830| 74 20 77 69 74 68 20 69 | 20 3d 20 31 20 74 6f 20 |t with i| = 1 to |
|00003840| 6e 0d 69 66 20 69 20 6d | 6f 64 20 32 20 69 73 20 |n.if i m|od 2 is |
|00003850| 30 20 74 68 65 6e 20 6e | 65 78 74 20 72 65 70 65 |0 then n|ext repe|
|00003860| 61 74 0d 70 75 74 20 22 | 3c 44 54 3e 22 20 62 65 |at.put "|<DT>" be|
|00003870| 66 6f 72 65 20 6c 69 6e | 65 20 69 20 6f 66 20 74 |fore lin|e i of t|
|00003880| 68 65 54 65 78 74 0d 65 | 6e 64 20 72 65 70 65 61 |heText.e|nd repea|
|00003890| 74 0d 72 65 70 65 61 74 | 20 77 69 74 68 20 69 20 |t.repeat| with i |
|000038a0| 3d 20 31 20 74 6f 20 6e | 0d 69 66 20 69 20 6d 6f |= 1 to n|.if i mo|
|000038b0| 64 20 32 20 69 73 20 31 | 20 74 68 65 6e 20 6e 65 |d 2 is 1| then ne|
|000038c0| 78 74 20 72 65 70 65 61 | 74 0d 70 75 74 20 22 3c |xt repea|t.put "<|
|000038d0| 44 44 3e 22 20 62 65 66 | 6f 72 65 20 6c 69 6e 65 |DD>" bef|ore line|
|000038e0| 20 69 20 6f 66 20 74 68 | 65 54 65 78 74 0d 65 6e | i of th|eText.en|
|000038f0| 64 20 72 65 70 65 61 74 | 0d 69 66 20 6c 61 73 74 |d repeat|.if last|
|00003900| 20 63 68 61 72 20 6f 66 | 20 74 68 65 54 65 78 74 | char of| theText|
|00003910| 20 ad 20 72 65 74 75 72 | 6e 20 74 68 65 6e 20 70 | . retur|n then p|
|00003920| 75 74 20 72 65 74 75 72 | 6e 20 61 66 74 65 72 20 |ut retur|n after |
|00003930| 74 68 65 54 65 78 74 0d | 70 75 74 20 22 3c 44 4c |theText.|put "<DL|
|00003940| 3e 22 26 72 65 74 75 72 | 6e 26 74 68 65 54 65 78 |>"&retur|n&theTex|
|00003950| 74 26 22 3c 2f 44 4c 3e | 22 26 72 65 74 75 72 6e |t&"</DL>|"&return|
|00003960| 20 69 6e 74 6f 20 74 68 | 65 20 73 65 6c 65 63 74 | into th|e select|
|00003970| 69 6f 6e 0d 65 6e 64 20 | 69 66 0d 65 6e 64 20 48 |ion.end |if.end H|
|00003980| 54 4d 4c 47 6c 6f 73 73 | 61 72 79 0d 0d 6f 6e 20 |TMLGloss|ary..on |
|00003990| 48 54 4d 4c 41 64 64 72 | 65 73 73 0d 69 66 20 65 |HTMLAddr|ess.if e|
|000039a0| 6d 70 74 79 53 65 6c 65 | 63 74 69 6f 6e 28 29 20 |mptySele|ction() |
|000039b0| 74 68 65 6e 20 65 78 69 | 74 20 48 54 4d 4c 41 64 |then exi|t HTMLAd|
|000039c0| 64 72 65 73 73 0d 65 6c | 73 65 20 70 75 74 20 74 |dress.el|se put t|
|000039d0| 68 65 20 73 65 6c 65 63 | 74 69 6f 6e 20 69 6e 74 |he selec|tion int|
|000039e0| 6f 20 74 68 65 54 65 78 | 74 0d 70 75 74 20 74 68 |o theTex|t.put th|
|000039f0| 65 20 6e 75 6d 62 65 72 | 20 6f 66 20 6c 69 6e 65 |e number| of line|
|00003a00| 73 20 6f 66 20 74 68 65 | 54 65 78 74 20 69 6e 74 |s of the|Text int|
|00003a10| 6f 20 6e 0d 72 65 70 65 | 61 74 20 77 69 74 68 20 |o n.repe|at with |
|00003a20| 69 20 3d 20 31 20 74 6f | 20 6e 0d 70 75 74 20 22 |i = 1 to| n.put "|
|00003a30| 3c 50 3e 22 20 61 66 74 | 65 72 20 6c 69 6e 65 20 |<P>" aft|er line |
|00003a40| 69 20 6f 66 20 74 68 65 | 54 65 78 74 0d 65 6e 64 |i of the|Text.end|
|00003a50| 20 72 65 70 65 61 74 0d | 69 66 20 6c 61 73 74 20 | repeat.|if last |
|00003a60| 63 68 61 72 20 6f 66 20 | 74 68 65 54 65 78 74 20 |char of |theText |
|00003a70| ad 20 72 65 74 75 72 6e | 20 74 68 65 6e 20 70 75 |. return| then pu|
|00003a80| 74 20 72 65 74 75 72 6e | 20 61 66 74 65 72 20 74 |t return| after t|
|00003a90| 68 65 54 65 78 74 0d 70 | 75 74 20 22 3c 41 44 44 |heText.p|ut "<ADD|
|00003aa0| 52 45 53 53 3e 22 26 72 | 65 74 75 72 6e 26 74 68 |RESS>"&r|eturn&th|
|00003ab0| 65 54 65 78 74 26 22 3c | 2f 41 44 44 52 45 53 53 |eText&"<|/ADDRESS|
|00003ac0| 3e 22 20 69 6e 74 6f 20 | 74 68 65 20 73 65 6c 65 |>" into |the sele|
|00003ad0| 63 74 69 6f 6e 0d 65 6e | 64 20 48 54 4d 4c 41 64 |ction.en|d HTMLAd|
|00003ae0| 64 72 65 73 73 0d 0d 6f | 6e 20 48 54 4d 4c 42 6c |dress..o|n HTMLBl|
|00003af0| 6f 63 6b 71 75 6f 74 65 | 0d 69 66 20 65 6d 70 74 |ockquote|.if empt|
|00003b00| 79 53 65 6c 65 63 74 69 | 6f 6e 28 29 20 74 68 65 |ySelecti|on() the|
|00003b10| 6e 20 65 78 69 74 20 48 | 54 4d 4c 42 6c 6f 63 6b |n exit H|TMLBlock|
|00003b20| 71 75 6f 74 65 0d 65 6c | 73 65 20 70 75 74 20 74 |quote.el|se put t|
|00003b30| 68 65 20 73 65 6c 65 63 | 74 69 6f 6e 20 69 6e 74 |he selec|tion int|
|00003b40| 6f 20 74 68 65 54 65 78 | 74 0d 69 66 20 6c 61 73 |o theTex|t.if las|
|00003b50| 74 20 63 68 61 72 20 6f | 66 20 74 68 65 54 65 78 |t char o|f theTex|
|00003b60| 74 20 ad 20 72 65 74 75 | 72 6e 20 74 68 65 6e 20 |t . retu|rn then |
|00003b70| 70 75 74 20 72 65 74 75 | 72 6e 20 61 66 74 65 72 |put retu|rn after|
|00003b80| 20 74 68 65 54 65 78 74 | 0d 70 75 74 20 22 3c 42 | theText|.put "<B|
|00003b90| 4c 4f 43 4b 51 55 4f 54 | 45 3e 22 26 72 65 74 75 |LOCKQUOT|E>"&retu|
|00003ba0| 72 6e 26 74 68 65 54 65 | 78 74 26 22 3c 2f 42 4c |rn&theTe|xt&"</BL|
|00003bb0| 4f 43 4b 51 55 4f 54 45 | 3e 22 20 69 6e 74 6f 20 |OCKQUOTE|>" into |
|00003bc0| 74 68 65 20 73 65 6c 65 | 63 74 69 6f 6e 0d 65 6e |the sele|ction.en|
|00003bd0| 64 20 48 54 4d 4c 42 6c | 6f 63 6b 71 75 6f 74 65 |d HTMLBl|ockquote|
|00003be0| 0d 0d 6f 6e 20 48 54 4d | 4c 44 69 72 65 63 74 6f |..on HTM|LDirecto|
|00003bf0| 72 79 0d 70 75 74 20 74 | 68 65 20 73 65 6c 65 63 |ry.put t|he selec|
|00003c00| 74 69 6f 6e 20 69 6e 74 | 6f 20 74 68 65 54 65 78 |tion int|o theTex|
|00003c10| 74 0d 72 65 70 65 61 74 | 20 77 69 74 68 20 69 20 |t.repeat| with i |
|00003c20| 3d 20 31 20 74 6f 20 6e | 75 6d 62 65 72 28 6c 69 |= 1 to n|umber(li|
|00003c30| 6e 65 73 20 6f 66 20 74 | 68 65 54 65 78 74 29 0d |nes of t|heText).|
|00003c40| 70 75 74 20 22 3c 4c 49 | 3e 22 20 62 65 66 6f 72 |put "<LI|>" befor|
|00003c50| 65 20 6c 69 6e 65 20 69 | 20 6f 66 20 74 68 65 54 |e line i| of theT|
|00003c60| 65 78 74 0d 65 6e 64 20 | 72 65 70 65 61 74 0d 69 |ext.end |repeat.i|
|00003c70| 66 20 6c 61 73 74 20 63 | 68 61 72 20 6f 66 20 74 |f last c|har of t|
|00003c80| 68 65 54 65 78 74 20 ad | 20 72 65 74 75 72 6e 20 |heText .| return |
|00003c90| 74 68 65 6e 20 70 75 74 | 20 72 65 74 75 72 6e 20 |then put| return |
|00003ca0| 61 66 74 65 72 20 74 68 | 65 54 65 78 74 0d 70 75 |after th|eText.pu|
|00003cb0| 74 20 22 3c 44 49 52 3e | 22 26 72 65 74 75 72 6e |t "<DIR>|"&return|
|00003cc0| 26 74 68 65 54 65 78 74 | 26 22 3c 2f 44 49 52 3e |&theText|&"</DIR>|
|00003cd0| 22 20 69 6e 74 6f 20 74 | 68 65 20 73 65 6c 65 63 |" into t|he selec|
|00003ce0| 74 69 6f 6e 0d 65 6e 64 | 20 48 54 4d 4c 44 69 72 |tion.end| HTMLDir|
|00003cf0| 65 63 74 6f 72 79 0d 0d | 6f 6e 20 48 54 4d 4c 49 |ectory..|on HTMLI|
|00003d00| 6d 61 67 65 0d 49 46 20 | 74 68 65 20 73 65 6c 65 |mage.IF |the sele|
|00003d10| 63 74 69 6f 6e 20 ad 20 | 65 6d 70 74 79 20 74 68 |ction . |empty th|
|00003d20| 65 6e 0d 61 6e 73 77 65 | 72 20 22 55 73 65 20 74 |en.answe|r "Use t|
|00003d30| 68 65 20 63 75 72 72 65 | 6e 74 20 74 65 78 74 20 |he curre|nt text |
|00003d40| 73 65 6c 65 63 74 69 6f | 6e 20 61 73 20 74 68 65 |selectio|n as the|
|00003d50| 20 55 52 4c 20 72 65 66 | 65 72 65 6e 63 65 3f 22 | URL ref|erence?"|
|00003d60| 20 77 69 74 68 20 22 43 | 61 6e 63 65 6c 22 20 6f | with "C|ancel" o|
|00003d70| 72 20 22 53 65 6c 65 63 | 74 69 6f 6e 22 20 6f 72 |r "Selec|tion" or|
|00003d80| 20 22 53 65 6c 65 63 74 | 20 46 69 6c 65 22 0d 69 | "Select| File".i|
|00003d90| 66 20 69 74 20 3d 20 22 | 43 61 6e 63 65 6c 22 20 |f it = "|Cancel" |
|00003da0| 74 68 65 6e 20 65 78 69 | 74 20 48 54 4d 4c 49 6d |then exi|t HTMLIm|
|00003db0| 61 67 65 0d 65 6c 73 65 | 20 69 66 20 69 74 20 3d |age.else| if it =|
|00003dc0| 20 22 53 65 6c 65 63 74 | 69 6f 6e 22 20 74 68 65 | "Select|ion" the|
|00003dd0| 6e 0d 70 75 74 20 74 68 | 65 20 73 65 6c 65 63 74 |n.put th|e select|
|00003de0| 65 64 54 65 78 74 20 69 | 6e 74 6f 20 74 68 65 50 |edText i|nto theP|
|00003df0| 61 74 68 0d 70 75 74 20 | 22 3c 49 4d 47 20 53 52 |ath.put |"<IMG SR|
|00003e00| 43 3d 22 26 71 75 6f 74 | 65 26 72 65 70 6c 61 63 |C="&quot|e&replac|
|00003e10| 65 43 68 61 72 28 22 3a | 22 2c 22 2f 22 2c 74 68 |eChar(":|","/",th|
|00003e20| 65 50 61 74 68 29 26 71 | 75 6f 74 65 26 22 3e 22 |ePath)&q|uote&">"|
|00003e30| 20 69 6e 74 6f 20 74 68 | 65 20 73 65 6c 65 63 74 | into th|e select|
|00003e40| 69 6f 6e 0d 65 78 69 74 | 20 48 54 4d 4c 49 6d 61 |ion.exit| HTMLIma|
|00003e50| 67 65 0d 65 6e 64 20 69 | 66 20 2d 2d 20 65 6c 73 |ge.end i|f -- els|
|00003e60| 65 20 61 73 6b 20 66 6f | 72 20 66 69 6c 65 4e 61 |e ask fo|r fileNa|
|00003e70| 6d 65 3a 0d 65 6e 64 20 | 69 66 0d 61 6e 73 77 65 |me:.end |if.answe|
|00003e80| 72 20 66 69 6c 65 20 22 | 53 65 6c 65 63 74 20 61 |r file "|Select a|
|00003e90| 6e 20 69 6d 61 67 65 20 | 66 69 6c 65 3a 20 28 47 |n image |file: (G|
|00003ea0| 49 46 20 6f 72 20 4a 50 | 45 47 29 22 0d 69 66 20 |IF or JP|EG)".if |
|00003eb0| 69 74 20 ad 20 65 6d 70 | 74 79 20 74 68 65 6e 20 |it . emp|ty then |
|00003ec0| 70 75 74 20 22 3c 49 4d | 47 20 53 52 43 3d 22 26 |put "<IM|G SRC="&|
|00003ed0| 71 75 6f 74 65 26 72 65 | 70 6c 61 63 65 43 68 61 |quote&re|placeCha|
|00003ee0| 72 28 22 3a 22 2c 22 2f | 22 2c 69 74 29 26 71 75 |r(":","/|",it)&qu|
|00003ef0| 6f 74 65 26 22 3e 22 20 | 61 66 74 65 72 20 74 68 |ote&">" |after th|
|00003f00| 65 20 73 65 6c 65 63 74 | 69 6f 6e 0d 65 6e 64 20 |e select|ion.end |
|00003f10| 48 54 4d 4c 49 6d 61 67 | 65 0d 0d 6f 6e 20 48 54 |HTMLImag|e..on HT|
|00003f20| 4d 4c 4d 65 6e 75 0d 70 | 75 74 20 74 68 65 20 73 |MLMenu.p|ut the s|
|00003f30| 65 6c 65 63 74 69 6f 6e | 20 69 6e 74 6f 20 74 68 |election| into th|
|00003f40| 65 54 65 78 74 0d 72 65 | 70 65 61 74 20 77 69 74 |eText.re|peat wit|
|00003f50| 68 20 69 20 3d 20 31 20 | 74 6f 20 6e 75 6d 62 65 |h i = 1 |to numbe|
|00003f60| 72 28 6c 69 6e 65 73 20 | 6f 66 20 74 68 65 54 65 |r(lines |of theTe|
|00003f70| 78 74 29 0d 70 75 74 20 | 22 3c 4c 49 3e 22 20 62 |xt).put |"<LI>" b|
|00003f80| 65 66 6f 72 65 20 6c 69 | 6e 65 20 69 20 6f 66 20 |efore li|ne i of |
|00003f90| 74 68 65 54 65 78 74 0d | 65 6e 64 20 72 65 70 65 |theText.|end repe|
|00003fa0| 61 74 0d 69 66 20 6c 61 | 73 74 20 63 68 61 72 20 |at.if la|st char |
|00003fb0| 6f 66 20 74 68 65 54 65 | 78 74 20 ad 20 72 65 74 |of theTe|xt . ret|
|00003fc0| 75 72 6e 20 74 68 65 6e | 20 70 75 74 20 72 65 74 |urn then| put ret|
|00003fd0| 75 72 6e 20 61 66 74 65 | 72 20 74 68 65 54 65 78 |urn afte|r theTex|
|00003fe0| 74 0d 70 75 74 20 22 3c | 4d 45 4e 55 3e 22 26 72 |t.put "<|MENU>"&r|
|00003ff0| 65 74 75 72 6e 26 74 68 | 65 54 65 78 74 26 22 3c |eturn&th|eText&"<|
|00004000| 2f 4d 45 4e 55 3e 22 20 | 69 6e 74 6f 20 74 68 65 |/MENU>" |into the|
|00004010| 20 73 65 6c 65 63 74 69 | 6f 6e 0d 65 6e 64 20 48 | selecti|on.end H|
|00004020| 54 4d 4c 4d 65 6e 75 0d | 0d 6f 6e 20 48 54 4d 4c |TMLMenu.|.on HTML|
|00004030| 42 75 6c 6c 65 74 65 64 | 0d 70 75 74 20 74 68 65 |Bulleted|.put the|
|00004040| 20 73 65 6c 65 63 74 69 | 6f 6e 20 69 6e 74 6f 20 | selecti|on into |
|00004050| 74 68 65 54 65 78 74 0d | 72 65 70 65 61 74 20 77 |theText.|repeat w|
|00004060| 69 74 68 20 69 20 3d 20 | 31 20 74 6f 20 6e 75 6d |ith i = |1 to num|
|00004070| 62 65 72 28 6c 69 6e 65 | 73 20 6f 66 20 74 68 65 |ber(line|s of the|
|00004080| 54 65 78 74 29 0d 70 75 | 74 20 22 3c 4c 49 3e 22 |Text).pu|t "<LI>"|
|00004090| 20 62 65 66 6f 72 65 20 | 6c 69 6e 65 20 69 20 6f | before |line i o|
|000040a0| 66 20 74 68 65 54 65 78 | 74 0d 65 6e 64 20 72 65 |f theTex|t.end re|
|000040b0| 70 65 61 74 0d 69 66 20 | 6c 61 73 74 20 63 68 61 |peat.if |last cha|
|000040c0| 72 20 6f 66 20 74 68 65 | 54 65 78 74 20 ad 20 72 |r of the|Text . r|
|000040d0| 65 74 75 72 6e 20 74 68 | 65 6e 20 70 75 74 20 72 |eturn th|en put r|
|000040e0| 65 74 75 72 6e 20 61 66 | 74 65 72 20 74 68 65 54 |eturn af|ter theT|
|000040f0| 65 78 74 0d 70 75 74 20 | 22 3c 55 4c 3e 22 26 72 |ext.put |"<UL>"&r|
|00004100| 65 74 75 72 6e 26 74 68 | 65 54 65 78 74 26 22 3c |eturn&th|eText&"<|
|00004110| 2f 55 4c 3e 22 20 69 6e | 74 6f 20 74 68 65 20 73 |/UL>" in|to the s|
|00004120| 65 6c 65 63 74 69 6f 6e | 0d 65 6e 64 20 48 54 4d |election|.end HTM|
|00004130| 4c 42 75 6c 6c 65 74 65 | 64 0d 0d 6f 6e 20 48 54 |LBullete|d..on HT|
|00004140| 4d 4c 4e 75 6d 62 65 72 | 65 64 0d 70 75 74 20 74 |MLNumber|ed.put t|
|00004150| 68 65 20 73 65 6c 65 63 | 74 69 6f 6e 20 69 6e 74 |he selec|tion int|
|00004160| 6f 20 74 68 65 54 65 78 | 74 0d 72 65 70 65 61 74 |o theTex|t.repeat|
|00004170| 20 77 69 74 68 20 69 20 | 3d 20 31 20 74 6f 20 6e | with i |= 1 to n|
|00004180| 75 6d 62 65 72 28 6c 69 | 6e 65 73 20 6f 66 20 74 |umber(li|nes of t|
|00004190| 68 65 54 65 78 74 29 0d | 70 75 74 20 22 3c 4c 49 |heText).|put "<LI|
|000041a0| 3e 22 20 62 65 66 6f 72 | 65 20 6c 69 6e 65 20 69 |>" befor|e line i|
|000041b0| 20 6f 66 20 74 68 65 54 | 65 78 74 0d 65 6e 64 20 | of theT|ext.end |
|000041c0| 72 65 70 65 61 74 0d 69 | 66 20 6c 61 73 74 20 63 |repeat.i|f last c|
|000041d0| 68 61 72 20 6f 66 20 74 | 68 65 54 65 78 74 20 ad |har of t|heText .|
|000041e0| 20 72 65 74 75 72 6e 20 | 74 68 65 6e 20 70 75 74 | return |then put|
|000041f0| 20 72 65 74 75 72 6e 20 | 61 66 74 65 72 20 74 68 | return |after th|
|00004200| 65 54 65 78 74 0d 70 75 | 74 20 22 3c 4f 4c 3e 22 |eText.pu|t "<OL>"|
|00004210| 26 72 65 74 75 72 6e 26 | 74 68 65 54 65 78 74 26 |&return&|theText&|
|00004220| 22 3c 2f 4f 4c 3e 22 20 | 69 6e 74 6f 20 74 68 65 |"</OL>" |into the|
|00004230| 20 73 65 6c 65 63 74 69 | 6f 6e 0d 65 6e 64 20 48 | selecti|on.end H|
|00004240| 54 4d 4c 4e 75 6d 62 65 | 72 65 64 0d 0d 66 75 6e |TMLNumbe|red..fun|
|00004250| 63 74 69 6f 6e 20 64 65 | 6c 65 74 65 48 54 4d 4c |ction de|leteHTML|
|00004260| 20 65 6e 64 43 6f 64 65 | 0d 2d 2d 20 67 69 76 65 | endCode|.-- give|
|00004270| 6e 20 63 6f 64 65 20 3c | 58 3e 2c 20 64 65 6c 65 |n code <|X>, dele|
|00004280| 74 65 20 61 6c 6c 20 6f | 63 63 75 72 72 65 6e 63 |te all o|ccurrenc|
|00004290| 65 73 20 69 6e 20 48 2f | 42 2f 46 20 6f 66 20 3c |es in H/|B/F of <|
|000042a0| 58 3e 20 61 6e 64 20 3c | 2f 58 3e 2c 20 72 65 74 |X> and <|/X>, ret|
|000042b0| 75 72 6e 73 20 63 6f 75 | 6e 74 20 6f 66 20 63 68 |urns cou|nt of ch|
|000042c0| 61 6e 67 65 73 0d 70 75 | 74 20 30 20 69 6e 74 6f |anges.pu|t 0 into|
|000042d0| 20 63 6f 64 65 43 6f 75 | 6e 74 0d 70 75 74 20 65 | codeCou|nt.put e|
|000042e0| 6e 64 43 6f 64 65 20 69 | 6e 74 6f 20 73 74 61 72 |ndCode i|nto star|
|000042f0| 74 43 6f 64 65 0d 70 75 | 74 20 22 2f 22 20 61 66 |tCode.pu|t "/" af|
|00004300| 74 65 72 20 63 68 61 72 | 20 31 20 6f 66 20 65 6e |ter char| 1 of en|
|00004310| 64 43 6f 64 65 0d 72 65 | 70 65 61 74 20 77 69 74 |dCode.re|peat wit|
|00004320| 68 20 69 20 3d 20 31 20 | 74 6f 20 33 0d 72 65 70 |h i = 1 |to 3.rep|
|00004330| 65 61 74 20 75 6e 74 69 | 6c 20 28 73 74 61 72 74 |eat unti|l (start|
|00004340| 43 6f 64 65 20 69 73 20 | 6e 6f 74 20 69 6e 20 66 |Code is |not in f|
|00004350| 6c 64 20 69 64 20 69 29 | 20 61 6e 64 20 28 65 6e |ld id i)| and (en|
|00004360| 64 43 6f 64 65 20 69 73 | 20 6e 6f 74 20 69 6e 20 |dCode is| not in |
|00004370| 66 6c 64 20 69 64 20 69 | 29 0d 69 66 20 73 74 61 |fld id i|).if sta|
|00004380| 72 74 43 6f 64 65 20 69 | 73 20 69 6e 20 66 6c 64 |rtCode i|s in fld|
|00004390| 20 69 64 20 69 20 74 68 | 65 6e 0d 61 64 64 20 31 | id i th|en.add 1|
|000043a0| 20 74 6f 20 63 6f 64 65 | 43 6f 75 6e 74 0d 70 75 | to code|Count.pu|
|000043b0| 74 20 6f 66 66 73 65 74 | 28 73 74 61 72 74 43 6f |t offset|(startCo|
|000043c0| 64 65 2c 66 6c 64 20 69 | 64 20 69 29 20 69 6e 74 |de,fld i|d i) int|
|000043d0| 6f 20 73 74 61 72 74 48 | 54 4d 4c 0d 64 65 6c 65 |o startH|TML.dele|
|000043e0| 74 65 20 63 68 61 72 20 | 73 74 61 72 74 48 54 4d |te char |startHTM|
|000043f0| 4c 20 74 6f 20 28 73 74 | 61 72 74 48 54 4d 4c 2b |L to (st|artHTML+|
|00004400| 6c 65 6e 67 74 68 28 73 | 74 61 72 74 43 6f 64 65 |length(s|tartCode|
|00004410| 29 2d 31 29 20 6f 66 20 | 66 6c 64 20 69 64 20 69 |)-1) of |fld id i|
|00004420| 0d 65 6e 64 20 69 66 0d | 69 66 20 65 6e 64 43 6f |.end if.|if endCo|
|00004430| 64 65 20 69 73 20 69 6e | 20 66 6c 64 20 69 64 20 |de is in| fld id |
|00004440| 69 20 74 68 65 6e 0d 61 | 64 64 20 31 20 74 6f 20 |i then.a|dd 1 to |
|00004450| 63 6f 64 65 43 6f 75 6e | 74 0d 70 75 74 20 6f 66 |codeCoun|t.put of|
|00004460| 66 73 65 74 28 65 6e 64 | 43 6f 64 65 2c 66 6c 64 |fset(end|Code,fld|
|00004470| 20 69 64 20 69 29 20 69 | 6e 74 6f 20 65 6e 64 48 | id i) i|nto endH|
|00004480| 54 4d 4c 0d 64 65 6c 65 | 74 65 20 63 68 61 72 20 |TML.dele|te char |
|00004490| 65 6e 64 48 54 4d 4c 20 | 74 6f 20 28 65 6e 64 48 |endHTML |to (endH|
|000044a0| 54 4d 4c 2b 6c 65 6e 67 | 74 68 28 65 6e 64 43 6f |TML+leng|th(endCo|
|000044b0| 64 65 29 2d 31 29 20 6f | 66 20 66 6c 64 20 69 64 |de)-1) o|f fld id|
|000044c0| 20 69 0d 65 6e 64 20 69 | 66 0d 65 6e 64 20 72 65 | i.end i|f.end re|
|000044d0| 70 65 61 74 0d 65 6e 64 | 20 72 65 70 65 61 74 0d |peat.end| repeat.|
|000044e0| 72 65 74 75 72 6e 20 63 | 6f 64 65 43 6f 75 6e 74 |return c|odeCount|
|000044f0| 0d 65 6e 64 20 64 65 6c | 65 74 65 48 54 4d 4c 0d |.end del|eteHTML.|
|00004500| 0d 6f 6e 20 70 72 6f 63 | 65 73 73 45 72 72 6f 72 |.on proc|essError|
|00004510| 20 6d 73 67 0d 61 6e 73 | 77 65 72 20 22 48 54 4d | msg.ans|wer "HTM|
|00004520| 4c 20 53 59 4e 54 41 58 | 20 45 52 52 4f 52 3a 22 |L SYNTAX| ERROR:"|
|00004530| 26 72 65 74 75 72 6e 26 | 6d 73 67 26 72 65 74 75 |&return&|msg&retu|
|00004540| 72 6e 26 72 65 74 75 72 | 6e 26 22 54 68 65 20 74 |rn&retur|n&"The t|
|00004550| 65 78 74 20 70 61 72 73 | 65 72 20 77 69 6c 6c 20 |ext pars|er will |
|00004560| 6e 6f 74 20 70 72 6f 63 | 65 73 73 20 74 68 69 73 |not proc|ess this|
|00004570| 20 48 54 4d 4c 20 63 6f | 64 65 2e 22 20 77 69 74 | HTML co|de." wit|
|00004580| 68 20 22 43 6f 6e 74 69 | 6e 75 65 22 0d 65 78 69 |h "Conti|nue".exi|
|00004590| 74 20 74 6f 20 48 79 70 | 65 72 43 61 72 64 0d 65 |t to Hyp|erCard.e|
|000045a0| 6e 64 20 70 72 6f 63 65 | 73 73 45 72 72 6f 72 0d |nd proce|ssError.|
|000045b0| 0d 2d 2d 2d 2d 20 a5 20 | 66 6c 6f 61 74 69 6e 67 |.---- . |floating|
|000045c0| 20 70 61 6c 65 74 74 65 | 2c 20 75 74 69 6c 69 74 | palette|, utilit|
|000045d0| 79 20 61 6e 64 20 61 62 | 6f 75 74 20 62 6f 78 65 |y and ab|out boxe|
|000045e0| 73 0d 0d 6f 6e 20 63 68 | 65 63 6b 46 6f 72 4d 69 |s..on ch|eckForMi|
|000045f0| 73 73 69 6e 67 46 6f 6e | 74 20 74 68 65 46 6f 6e |ssingFon|t theFon|
|00004600| 74 0d 69 66 20 74 68 65 | 72 65 20 69 73 20 6e 6f |t.if the|re is no|
|00004610| 74 20 61 20 6d 65 6e 75 | 20 22 46 6f 6e 74 22 20 |t a menu| "Font" |
|00004620| 74 68 65 6e 20 61 6e 73 | 77 65 72 20 22 45 72 72 |then ans|wer "Err|
|00004630| 6f 72 3a 20 6e 6f 20 66 | 6f 6e 74 20 6d 65 6e 75 |or: no f|ont menu|
|00004640| 2e 22 0d 65 6c 73 65 20 | 69 66 20 74 68 65 72 65 |.".else |if there|
|00004650| 20 69 73 20 6e 6f 20 6d | 65 6e 75 49 74 65 6d 20 | is no m|enuItem |
|00004660| 74 68 65 46 6f 6e 74 20 | 69 6e 20 6d 65 6e 75 20 |theFont |in menu |
|00004670| 22 46 6f 6e 74 22 20 74 | 68 65 6e 0d 62 65 65 70 |"Font" t|hen.beep|
|00004680| 0d 61 6e 73 77 65 72 20 | 22 54 68 69 73 20 65 64 |.answer |"This ed|
|00004690| 69 74 6f 72 20 75 73 65 | 73 20 74 68 65 20 22 26 |itor use|s the "&|
|000046a0| 74 68 65 46 6f 6e 74 26 | 22 20 66 6f 6e 74 2c 20 |theFont&|" font, |
|000046b0| 77 68 69 63 68 20 69 73 | 20 6e 6f 74 20 69 6e 73 |which is| not ins|
|000046c0| 74 61 6c 6c 65 64 2e 20 | 22 26 72 65 74 75 72 6e |talled. |"&return|
|000046d0| 26 c2 0d 22 49 66 20 79 | 6f 75 20 64 6f 6e 27 74 |&.."If y|ou don't|
|000046e0| 20 69 6e 73 74 61 6c 6c | 20 74 68 65 20 22 26 74 | install| the "&t|
|000046f0| 68 65 46 6f 6e 74 26 22 | 20 66 6f 6e 74 2c 20 79 |heFont&"| font, y|
|00004700| 6f 75 20 63 61 6e 20 73 | 74 69 6c 6c 20 75 73 65 |ou can s|till use|
|00004710| 20 48 54 4d 4c 2e 65 64 | 69 74 2c 20 62 75 74 20 | HTML.ed|it, but |
|00004720| 79 6f 75 20 6d 61 79 20 | 6e 6f 74 69 63 65 20 73 |you may |notice s|
|00004730| 6f 6d 65 20 63 6f 73 6d | 65 74 69 63 20 70 72 6f |ome cosm|etic pro|
|00004740| 62 6c 65 6d 73 2e 22 20 | 77 69 74 68 20 22 51 75 |blems." |with "Qu|
|00004750| 69 74 22 20 6f 72 20 22 | 4f 4b 22 0d 69 66 20 69 |it" or "|OK".if i|
|00004760| 74 20 3d 20 22 51 75 69 | 74 22 20 74 68 65 6e 20 |t = "Qui|t" then |
|00004770| 71 75 69 74 0d 65 6e 64 | 20 69 66 0d 65 6e 64 20 |quit.end| if.end |
|00004780| 63 68 65 63 6b 46 6f 72 | 4d 69 73 73 69 6e 67 46 |checkFor|MissingF|
|00004790| 6f 6e 74 0d 0d 6f 6e 20 | 73 65 74 46 6f 6e 74 20 |ont..on |setFont |
|000047a0| 6e 2c 73 0d 67 6c 6f 62 | 61 6c 20 77 72 61 70 54 |n,s.glob|al wrapT|
|000047b0| 65 78 74 0d 70 75 73 68 | 20 63 64 0d 6c 6f 63 6b |ext.push| cd.lock|
|000047c0| 20 73 63 72 65 65 6e 0d | 6c 6f 63 6b 20 6d 65 73 | screen.|lock mes|
|000047d0| 73 61 67 65 73 0d 67 6f | 20 63 64 20 31 20 6f 66 |sages.go| cd 1 of|
|000047e0| 20 62 67 20 22 45 64 69 | 74 6f 72 22 0d 67 65 74 | bg "Edi|tor".get|
|000047f0| 20 22 66 6c 64 20 69 64 | 20 31 31 2c 66 6c 64 20 | "fld id| 11,fld |
|00004800| 69 64 20 31 2c 66 6c 64 | 20 69 64 20 32 2c 66 6c |id 1,fld| id 2,fl|
|00004810| 64 20 69 64 20 33 22 20 | 2d 2d 20 2c 36 33 38 38 |d id 3" |-- ,6388|
|00004820| 2c 63 64 20 66 6c 64 20 | 69 64 20 37 2c 63 64 20 |,cd fld |id 7,cd |
|00004830| 66 6c 64 20 69 64 20 38 | 2c 63 64 20 66 6c 64 20 |fld id 8|,cd fld |
|00004840| 69 64 20 39 2c 32 31 34 | 35 2c 63 64 20 66 6c 64 |id 9,214|5,cd fld|
|00004850| 20 69 64 20 37 2c 63 64 | 20 66 6c 64 20 69 64 20 | id 7,cd| fld id |
|00004860| 38 2c 63 64 20 66 6c 64 | 20 69 64 20 39 22 0d 72 |8,cd fld| id 9".r|
|00004870| 65 70 65 61 74 20 77 69 | 74 68 20 69 20 3d 20 31 |epeat wi|th i = 1|
|00004880| 20 74 6f 20 6e 75 6d 62 | 65 72 20 6f 66 20 69 74 | to numb|er of it|
|00004890| 65 6d 73 20 69 6e 20 69 | 74 0d 69 66 20 6c 61 73 |ems in i|t.if las|
|000048a0| 74 20 77 6f 72 64 20 6f | 66 20 69 74 65 6d 20 69 |t word o|f item i|
|000048b0| 20 6f 66 20 69 74 20 3e | 20 31 30 30 20 74 68 65 | of it >| 100 the|
|000048c0| 6e 0d 67 6f 20 63 64 20 | 69 64 20 28 69 74 65 6d |n.go cd |id (item|
|000048d0| 20 69 20 6f 66 20 69 74 | 29 0d 6e 65 78 74 20 72 | i of it|).next r|
|000048e0| 65 70 65 61 74 0d 65 6e | 64 20 69 66 0d 64 6f 20 |epeat.en|d if.do |
|000048f0| 22 73 65 74 20 74 65 78 | 74 46 6f 6e 74 20 6f 66 |"set tex|tFont of|
|00004900| 20 22 26 28 69 74 65 6d | 20 69 20 6f 66 20 69 74 | "&(item| i of it|
|00004910| 29 26 22 20 74 6f 20 22 | 26 6e 0d 64 6f 20 22 73 |)&" to "|&n.do "s|
|00004920| 65 74 20 74 65 78 74 53 | 69 7a 65 20 6f 66 20 22 |et textS|ize of "|
|00004930| 26 28 69 74 65 6d 20 69 | 20 6f 66 20 69 74 29 26 |&(item i| of it)&|
|00004940| 22 20 74 6f 20 22 26 73 | 0d 64 6f 20 22 73 65 74 |" to "&s|.do "set|
|00004950| 20 64 6f 6e 74 57 72 61 | 70 20 6f 66 20 22 26 28 | dontWra|p of "&(|
|00004960| 69 74 65 6d 20 69 20 6f | 66 20 69 74 29 26 22 20 |item i o|f it)&" |
|00004970| 74 6f 20 6e 6f 74 20 22 | 26 77 72 61 70 54 65 78 |to not "|&wrapTex|
|00004980| 74 0d 65 6e 64 20 72 65 | 70 65 61 74 0d 67 6f 20 |t.end re|peat.go |
|00004990| 63 64 20 22 6d 61 73 74 | 65 72 48 65 61 64 65 72 |cd "mast|erHeader|
|000049a0| 73 22 0d 73 65 74 43 64 | 46 6f 6e 74 20 6e 2c 73 |s".setCd|Font n,s|
|000049b0| 0d 67 6f 20 63 64 20 22 | 6d 61 73 74 65 72 46 6f |.go cd "|masterFo|
|000049c0| 6f 74 65 72 73 22 0d 73 | 65 74 43 64 46 6f 6e 74 |oters".s|etCdFont|
|000049d0| 20 6e 2c 73 0d 70 6f 70 | 20 63 64 0d 73 65 74 20 | n,s.pop| cd.set |
|000049e0| 74 68 65 20 6e 61 6d 65 | 20 6f 66 20 63 64 20 62 |the name| of cd b|
|000049f0| 74 6e 20 69 64 20 33 20 | 74 6f 20 73 26 22 20 70 |tn id 3 |to s&" p|
|00004a00| 74 22 0d 75 6e 6c 6f 63 | 6b 20 73 63 72 65 65 6e |t".unloc|k screen|
|00004a10| 0d 70 6c 61 79 20 22 64 | 69 6e 6b 22 20 64 33 73 |.play "d|ink" d3s|
|00004a20| 0d 65 6e 64 20 73 65 74 | 46 6f 6e 74 0d 0d 2d 2d |.end set|Font..--|
|00004a30| 2d 2d 20 a5 20 66 75 6e | 63 74 69 6f 6e 73 0d 0d |-- . fun|ctions..|
|00004a40| 66 75 6e 63 74 69 6f 6e | 20 65 6d 70 74 79 53 65 |function| emptySe|
|00004a50| 6c 65 63 74 69 6f 6e 20 | 2d 2d 20 6d 61 6b 65 20 |lection |-- make |
|00004a60| 73 75 72 65 20 73 6f 6d | 65 20 74 65 78 74 20 77 |sure som|e text w|
|00004a70| 61 73 20 73 65 6c 65 63 | 74 65 64 0d 69 66 20 74 |as selec|ted.if t|
|00004a80| 68 65 20 73 65 6c 65 63 | 74 69 6f 6e 20 69 73 20 |he selec|tion is |
|00004a90| 65 6d 70 74 79 20 74 68 | 65 6e 0d 61 6e 73 77 65 |empty th|en.answe|
|00004aa0| 72 20 22 59 6f 75 20 6d | 75 73 74 20 73 65 6c 65 |r "You m|ust sele|
|00004ab0| 63 74 20 73 6f 6d 65 20 | 74 65 78 74 20 66 6f 72 |ct some |text for|
|00004ac0| 20 74 68 69 73 20 66 75 | 6e 63 74 69 6f 6e 20 74 | this fu|nction t|
|00004ad0| 6f 20 77 6f 72 6b 2e 22 | 0d 72 65 74 75 72 6e 20 |o work."|.return |
|00004ae0| 54 52 55 45 0d 65 6c 73 | 65 20 72 65 74 75 72 6e |TRUE.els|e return|
|00004af0| 20 46 41 4c 53 45 0d 65 | 6e 64 20 65 6d 70 74 79 | FALSE.e|nd empty|
|00004b00| 53 65 6c 65 63 74 69 6f | 6e 0d 0d 66 75 6e 63 74 |Selectio|n..funct|
|00004b10| 69 6f 6e 20 67 65 74 53 | 74 61 63 6b 4e 61 6d 65 |ion getS|tackName|
|00004b20| 20 70 61 74 68 20 2d 2d | 20 72 65 74 75 72 6e 73 | path --| returns|
|00004b30| 20 74 68 65 20 73 68 6f | 72 74 20 73 74 61 63 6b | the sho|rt stack|
|00004b40| 20 6e 61 6d 65 20 67 69 | 76 65 6e 20 70 61 74 68 | name gi|ven path|
|00004b50| 0d 72 65 70 65 61 74 20 | 77 69 74 68 20 69 20 3d |.repeat |with i =|
|00004b60| 20 6c 65 6e 67 74 68 28 | 70 61 74 68 29 20 64 6f | length(|path) do|
|00004b70| 77 6e 20 74 6f 20 31 0d | 69 66 20 63 68 61 72 20 |wn to 1.|if char |
|00004b80| 69 20 6f 66 20 70 61 74 | 68 20 3d 20 22 3a 22 20 |i of pat|h = ":" |
|00004b90| 74 68 65 6e 0d 67 65 74 | 20 69 0d 65 78 69 74 20 |then.get| i.exit |
|00004ba0| 72 65 70 65 61 74 0d 65 | 6e 64 20 69 66 0d 65 6e |repeat.e|nd if.en|
|00004bb0| 64 20 72 65 70 65 61 74 | 0d 72 65 74 75 72 6e 20 |d repeat|.return |
|00004bc0| 63 68 61 72 20 28 69 2b | 31 29 20 74 6f 20 28 6c |char (i+|1) to (l|
|00004bd0| 65 6e 67 74 68 28 70 61 | 74 68 29 2d 31 29 20 6f |ength(pa|th)-1) o|
|00004be0| 66 20 70 61 74 68 0d 65 | 6e 64 20 67 65 74 53 74 |f path.e|nd getSt|
|00004bf0| 61 63 6b 4e 61 6d 65 0d | 0d 66 75 6e 63 74 69 6f |ackName.|.functio|
|00004c00| 6e 20 67 65 74 50 61 74 | 68 20 2d 2d 20 72 65 74 |n getPat|h -- ret|
|00004c10| 75 72 6e 73 20 74 68 65 | 20 70 61 74 68 20 74 6f |urns the| path to|
|00004c20| 20 74 68 69 73 20 73 74 | 61 63 6b 0d 70 75 74 20 | this st|ack.put |
|00004c30| 74 68 65 20 6c 6f 6e 67 | 20 6e 61 6d 65 20 6f 66 |the long| name of|
|00004c40| 20 74 68 69 73 20 73 74 | 61 63 6b 20 69 6e 74 6f | this st|ack into|
|00004c50| 20 70 61 74 68 0d 72 65 | 70 65 61 74 20 77 69 74 | path.re|peat wit|
|00004c60| 68 20 69 20 3d 20 6c 65 | 6e 67 74 68 28 70 61 74 |h i = le|ngth(pat|
|00004c70| 68 29 20 64 6f 77 6e 20 | 74 6f 20 31 0d 69 66 20 |h) down |to 1.if |
|00004c80| 63 68 61 72 20 69 20 6f | 66 20 70 61 74 68 20 3d |char i o|f path =|
|00004c90| 20 22 3a 22 20 74 68 65 | 6e 0d 67 65 74 20 69 0d | ":" the|n.get i.|
|00004ca0| 65 78 69 74 20 72 65 70 | 65 61 74 0d 65 6e 64 20 |exit rep|eat.end |
|00004cb0| 69 66 0d 65 6e 64 20 72 | 65 70 65 61 74 0d 72 65 |if.end r|epeat.re|
|00004cc0| 74 75 72 6e 20 63 68 61 | 72 20 38 20 74 6f 20 69 |turn cha|r 8 to i|
|00004cd0| 20 6f 66 20 70 61 74 68 | 0d 65 6e 64 20 67 65 74 | of path|.end get|
|00004ce0| 50 61 74 68 0d 0d 66 75 | 6e 63 74 69 6f 6e 20 72 |Path..fu|nction r|
|00004cf0| 65 70 6c 61 63 65 43 68 | 61 72 20 61 2c 62 2c 63 |eplaceCh|ar a,b,c|
|00004d00| 6f 6e 74 61 69 6e 65 72 | 20 2d 2d 20 72 65 70 6c |ontainer| -- repl|
|00004d10| 61 63 65 20 61 6c 6c 20 | 63 68 61 72 20 61 20 77 |ace all |char a w|
|00004d20| 69 74 68 20 62 20 6f 66 | 20 63 6f 6e 74 61 69 6e |ith b of| contain|
|00004d30| 65 72 0d 72 65 70 65 61 | 74 0d 67 65 74 20 6f 66 |er.repea|t.get of|
|00004d40| 66 73 65 74 28 61 2c 63 | 6f 6e 74 61 69 6e 65 72 |fset(a,c|ontainer|
|00004d50| 29 0d 69 66 20 69 74 20 | 3d 20 30 20 74 68 65 6e |).if it |= 0 then|
|00004d60| 20 65 78 69 74 20 72 65 | 70 65 61 74 0d 70 75 74 | exit re|peat.put|
|00004d70| 20 62 20 69 6e 74 6f 20 | 63 68 61 72 20 69 74 20 | b into |char it |
|00004d80| 6f 66 20 63 6f 6e 74 61 | 69 6e 65 72 0d 65 6e 64 |of conta|iner.end|
|00004d90| 20 72 65 70 65 61 74 0d | 72 65 74 75 72 6e 20 63 | repeat.|return c|
|00004da0| 6f 6e 74 61 69 6e 65 72 | 0d 65 6e 64 20 72 65 70 |ontainer|.end rep|
|00004db0| 6c 61 63 65 43 68 61 72 | 0d 0d 66 75 6e 63 74 69 |laceChar|..functi|
|00004dc0| 6f 6e 20 67 65 74 44 61 | 74 65 54 65 78 74 20 2d |on getDa|teText -|
|00004dd0| 2d 20 72 65 74 75 72 6e | 73 20 64 61 74 65 20 74 |- return|s date t|
|00004de0| 65 78 74 20 69 6e 20 73 | 70 65 63 20 66 6f 72 6d |ext in s|pec form|
|00004df0| 61 74 0d 67 6c 6f 62 61 | 6c 20 64 61 74 65 46 6f |at.globa|l dateFo|
|00004e00| 72 6d 61 74 0d 64 6f 20 | 22 67 65 74 20 74 68 65 |rmat.do |"get the|
|00004e10| 20 22 26 64 61 74 65 46 | 6f 72 6d 61 74 0d 72 65 | "&dateF|ormat.re|
|00004e20| 74 75 72 6e 20 69 74 0d | 65 6e 64 20 67 65 74 44 |turn it.|end getD|
|00004e30| 61 74 65 54 65 78 74 0d | 0d 66 75 6e 63 74 69 6f |ateText.|.functio|
|00004e40| 6e 20 76 69 7a 20 77 69 | 6e 64 6f 77 4e 61 6d 65 |n viz wi|ndowName|
|00004e50| 0d 69 66 20 74 68 65 72 | 65 20 69 73 20 61 20 77 |.if ther|e is a w|
|00004e60| 69 6e 64 6f 77 20 77 69 | 6e 64 6f 77 4e 61 6d 65 |indow wi|ndowName|
|00004e70| 20 74 68 65 6e 0d 72 65 | 74 75 72 6e 20 28 74 68 | then.re|turn (th|
|00004e80| 65 20 76 69 73 69 62 6c | 65 20 6f 66 20 77 69 6e |e visibl|e of win|
|00004e90| 64 6f 77 20 77 69 6e 64 | 6f 77 4e 61 6d 65 29 0d |dow wind|owName).|
|00004ea0| 65 6c 73 65 20 72 65 74 | 75 72 6e 20 46 41 4c 53 |else ret|urn FALS|
|00004eb0| 45 0d 65 6e 64 20 76 69 | 7a 0d 0d 66 75 6e 63 74 |E.end vi|z..funct|
|00004ec0| 69 6f 6e 20 73 74 61 63 | 6b 4e 61 6d 65 20 70 61 |ion stac|kName pa|
|00004ed0| 74 68 0d 67 65 74 20 6c | 65 6e 67 74 68 28 70 61 |th.get l|ength(pa|
|00004ee0| 74 68 29 0d 72 65 70 65 | 61 74 20 77 69 74 68 20 |th).repe|at with |
|00004ef0| 69 20 3d 20 69 74 20 64 | 6f 77 6e 20 74 6f 20 31 |i = it d|own to 1|
|00004f00| 0d 69 66 20 63 68 61 72 | 20 69 20 6f 66 20 70 61 |.if char| i of pa|
|00004f10| 74 68 20 3d 20 22 3a 22 | 20 74 68 65 6e 20 72 65 |th = ":"| then re|
|00004f20| 74 75 72 6e 20 63 68 61 | 72 20 28 69 2b 31 29 20 |turn cha|r (i+1) |
|00004f30| 74 6f 20 69 74 20 6f 66 | 20 70 61 74 68 0d 65 6e |to it of| path.en|
|00004f40| 64 20 72 65 70 65 61 74 | 0d 72 65 74 75 72 6e 20 |d repeat|.return |
|00004f50| 70 61 74 68 0d 65 6e 64 | 20 73 74 61 63 6b 4e 61 |path.end| stackNa|
|00004f60| 6d 65 0d 0d 66 75 6e 63 | 74 69 6f 6e 20 6f 6b 4e |me..func|tion okN|
|00004f70| 75 6d 20 4c 2c 48 2c 44 | 2c 61 73 6b 4d 73 67 20 |um L,H,D|,askMsg |
|00004f80| 2d 2d 20 6c 6f 77 2c 68 | 69 67 68 2c 64 65 66 61 |-- low,h|igh,defa|
|00004f90| 75 6c 74 2c 6d 65 73 73 | 61 67 65 0d 70 75 74 20 |ult,mess|age.put |
|00004fa0| 54 52 55 45 20 69 6e 74 | 6f 20 76 61 6c 69 64 0d |TRUE int|o valid.|
|00004fb0| 61 73 6b 20 61 73 6b 4d | 73 67 20 77 69 74 68 20 |ask askM|sg with |
|00004fc0| 44 0d 69 66 20 69 74 20 | 3d 20 65 6d 70 74 79 20 |D.if it |= empty |
|00004fd0| 74 68 65 6e 20 65 78 69 | 74 20 74 6f 20 48 79 70 |then exi|t to Hyp|
|00004fe0| 65 72 43 61 72 64 0d 70 | 75 74 20 69 74 20 69 6e |erCard.p|ut it in|
|00004ff0| 74 6f 20 6e 0d 69 66 20 | 6e 20 69 73 20 61 20 6e |to n.if |n is a n|
|00005000| 75 6d 62 65 72 20 61 6e | 64 20 6e 20 b3 20 4c 20 |umber an|d n . L |
|00005010| 61 6e 64 20 6e 20 b2 20 | 48 20 74 68 65 6e 20 72 |and n . |H then r|
|00005020| 65 74 75 72 6e 20 6e 0d | 69 66 20 4c 20 3d 20 48 |eturn n.|if L = H|
|00005030| 20 74 68 65 6e 20 67 65 | 74 20 22 45 6e 74 72 79 | then ge|t "Entry|
|00005040| 20 6d 75 73 74 20 62 65 | 22 26 26 4c 20 65 6c 73 | must be|"&&L els|
|00005050| 65 20 67 65 74 20 22 45 | 6e 74 72 79 20 6d 75 73 |e get "E|ntry mus|
|00005060| 74 20 62 65 20 62 65 74 | 77 65 65 6e 22 26 26 4c |t be bet|ween"&&L|
|00005070| 26 26 22 61 6e 64 22 26 | 26 48 0d 61 6e 73 77 65 |&&"and"&|&H.answe|
|00005080| 72 20 22 45 4e 54 52 59 | 20 45 52 52 4f 52 3a 22 |r "ENTRY| ERROR:"|
|00005090| 26 72 65 74 75 72 6e 26 | 71 75 6f 74 65 26 6e 26 |&return&|quote&n&|
|000050a0| 71 75 6f 74 65 26 26 22 | 6e 6f 74 20 61 20 76 61 |quote&&"|not a va|
|000050b0| 6c 69 64 20 6e 75 6d 62 | 65 72 2e 22 26 72 65 74 |lid numb|er."&ret|
|000050c0| 75 72 6e 26 69 74 26 22 | 2e 22 20 77 69 74 68 20 |urn&it&"|." with |
|000050d0| 22 43 61 6e 63 65 6c 22 | 20 6f 72 20 22 52 65 65 |"Cancel"| or "Ree|
|000050e0| 6e 74 65 72 22 0d 69 66 | 20 69 74 20 69 73 20 22 |nter".if| it is "|
|000050f0| 43 61 6e 63 65 6c 22 20 | 74 68 65 6e 20 65 78 69 |Cancel" |then exi|
|00005100| 74 20 74 6f 20 48 79 70 | 65 72 43 61 72 64 0d 65 |t to Hyp|erCard.e|
|00005110| 6c 73 65 20 72 65 74 75 | 72 6e 20 6f 6b 4e 75 6d |lse retu|rn okNum|
|00005120| 28 4c 2c 48 2c 44 2c 61 | 73 6b 4d 73 67 29 20 2d |(L,H,D,a|skMsg) -|
|00005130| 2d 20 72 65 63 75 72 73 | 65 73 20 75 6e 74 69 6c |- recurs|es until|
|00005140| 20 76 61 6c 69 64 20 6f | 72 20 63 61 6e 63 65 6c | valid o|r cancel|
|00005150| 6c 65 64 0d 65 6e 64 20 | 6f 6b 4e 75 6d 0d 0d 66 |led.end |okNum..f|
|00005160| 75 6e 63 74 69 6f 6e 20 | 73 65 74 43 6f 6d 70 61 |unction |setCompa|
|00005170| 63 74 54 68 72 65 73 68 | 6f 6c 64 0d 67 65 74 20 |ctThresh|old.get |
|00005180| 74 68 65 20 73 68 6f 72 | 74 20 6e 61 6d 65 20 6f |the shor|t name o|
|00005190| 66 20 63 64 20 62 74 6e | 20 69 64 20 31 30 20 6f |f cd btn| id 10 o|
|000051a0| 66 20 63 64 20 22 70 72 | 65 66 65 72 65 6e 63 65 |f cd "pr|eference|
|000051b0| 73 22 0d 69 66 20 69 74 | 20 3d 20 22 41 6c 77 61 |s".if it| = "Alwa|
|000051c0| 79 73 22 20 74 68 65 6e | 20 67 65 74 20 22 3e 30 |ys" then| get ">0|
|000051d0| 25 22 0d 64 65 6c 65 74 | 65 20 66 69 72 73 74 20 |%".delet|e first |
|000051e0| 63 68 61 72 20 6f 66 20 | 69 74 0d 64 65 6c 65 74 |char of |it.delet|
|000051f0| 65 20 6c 61 73 74 20 63 | 68 61 72 20 6f 66 20 69 |e last c|har of i|
|00005200| 74 0d 70 75 74 20 69 74 | 2f 31 30 30 20 69 6e 74 |t.put it|/100 int|
|00005210| 6f 20 63 6f 6d 70 61 63 | 74 54 68 72 65 73 68 6f |o compac|tThresho|
|00005220| 6c 64 0d 72 65 74 75 72 | 6e 20 63 6f 6d 70 61 63 |ld.retur|n compac|
|00005230| 74 54 68 72 65 73 68 6f | 6c 64 0d 65 6e 64 20 73 |tThresho|ld.end s|
|00005240| 65 74 43 6f 6d 70 61 63 | 74 54 68 72 65 73 68 6f |etCompac|tThresho|
|00005250| 6c 64 0d 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |ld......|........|
|00005260| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005270| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005280| 00 00 02 00 4d 41 53 54 | ff ff ff ff 00 00 00 00 |....MAST|........|
|00005290| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000052a0| 00 0f 37 f4 00 10 bc f4 | 00 02 a0 1f 00 00 00 00 |..7.....|........|
|000052b0| 00 14 fb 10 00 15 32 12 | 00 11 98 04 00 10 9e 6e |......2.|.......n|
|000052c0| 00 11 a0 3a 00 13 ea da | 00 10 b8 43 00 15 1f 6b |...:....|...C...k|
|000052d0| 00 02 a4 18 00 02 e4 a3 | 00 15 14 78 00 0f 0a 16 |........|...x....|
|000052e0| 00 0e e3 48 00 0f 2b ae | 00 00 00 00 00 00 00 00 |...H..+.|........|
|000052f0| 00 13 f1 57 00 00 00 00 | 00 14 f0 96 00 00 00 00 |...W....|........|
|00005300| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005310| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005320| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005330| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005340| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005350| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005360| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005370| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005380| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005390| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000053a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000053b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000053c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000053d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000053e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000053f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005400| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005410| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005420| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005430| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005440| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005450| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005460| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005470| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005480| 00 00 00 80 4c 49 53 54 | 00 00 0a 1f 00 00 00 00 |....LIST|........|
|00005490| 00 00 00 01 00 00 08 00 | 00 00 00 05 00 20 00 02 |........|..... ..|
|000054a0| 00 07 00 03 00 00 02 88 | 00 00 00 05 00 00 00 00 |........|........|
|000054b0| 00 00 14 18 00 05 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000054c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000054d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000054e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000054f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005500| 00 00 08 00 50 41 47 45 | 00 00 14 18 00 00 00 00 |....PAGE|........|
|00005510| 00 00 0a 1f f8 18 03 d1 | 00 00 08 f4 e0 43 ff e9 |........|.....C..|
|00005520| e7 bb fa da ff f7 5e 7e | 7f bf 5f ad b7 fb bf ff |......^~|.._.....|
|00005530| fe ff df bf ef ff b7 e0 | 00 00 12 43 60 00 09 00 |........|...C`...|
|00005540| 00 18 00 00 42 30 00 00 | 00 00 00 48 02 00 00 04 |....B0..|...H....|
|00005550| 04 10 00 00 88 81 12 40 | 00 00 09 f4 a0 20 00 10 |.......@|..... ..|
|00005560| 00 00 01 00 48 02 14 00 | 00 00 00 42 90 00 80 01 |....H...|...B....|
|00005570| 00 04 01 00 40 10 09 00 | 00 00 10 3a a0 10 2c 01 |....@...|...:..,.|
|00005580| 12 34 00 00 26 4b 04 66 | 84 00 42 c8 92 31 08 05 |.4..&K.f|..B..1..|
|00005590| 44 01 a0 aa 51 21 50 50 | 00 00 1c 57 e0 0f 09 6c |D...Q!PP|...W...l|
|000055a0| 8d 9a 8c 28 02 cd 0a c2 | 88 44 b4 49 36 88 01 d2 |...(....|.D.I6...|
|000055b0| 9c 95 08 23 42 ff 0b 00 | 00 00 00 00 00 00 00 00 |...#B...|........|
|000055c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000055d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000055e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000055f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005600| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005610| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005620| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005630| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005640| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005650| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005660| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005670| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005680| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005690| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000056a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000056b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000056c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000056d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000056e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000056f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005700| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005710| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005720| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005730| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005740| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005750| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005760| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005770| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005780| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005790| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000057a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000057b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000057c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000057d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000057e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000057f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005800| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005810| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005820| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005830| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005840| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005850| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005860| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005870| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005880| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005890| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000058a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000058b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000058c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000058d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000058e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000058f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005900| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005910| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005920| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005930| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005940| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005950| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005960| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005970| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005980| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005990| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000059a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000059b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000059c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000059d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000059e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000059f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005a00| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005a10| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005a20| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005a30| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005a40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005a50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005a60| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005a70| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005a80| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005a90| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005aa0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005ab0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005ac0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005ad0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005ae0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005af0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005b00| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005b10| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005b20| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005b30| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005b40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005b50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005b60| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005b70| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005b80| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005b90| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005ba0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005bb0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005bc0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005bd0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005be0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005bf0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005c00| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005c10| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005c20| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005c30| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005c40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005c50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005c60| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005c70| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005c80| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005c90| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005ca0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005cb0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005cc0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005cd0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005ce0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005cf0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005d00| 00 01 7f e0 42 4b 47 44 | 00 00 15 a3 00 00 00 00 |....BKGD|........|
|00005d10| 00 00 18 48 40 00 00 00 | 00 00 00 03 00 00 17 16 |...H@...|........|
|00005d20| 00 00 17 16 00 2f 00 3f | 00 00 47 b4 00 08 00 00 |...../.?|..G.....|
|00005d30| da 5c 00 50 00 0d 02 29 | 00 52 01 16 00 62 01 31 |.\.P...)|.R...b.1|
|00005d40| 00 00 00 00 00 00 00 00 | 00 80 00 0a 00 00 00 0d |........|........|
|00005d50| 68 64 72 53 69 7a 65 00 | 00 6f 6e 20 6d 6f 75 73 |hdrSize.|.on mous|
|00005d60| 65 55 70 0d 70 75 74 20 | 65 6d 70 74 79 20 69 6e |eUp.put |empty in|
|00005d70| 74 6f 20 6d 65 0d 65 6e | 64 20 6d 6f 75 73 65 55 |to me.en|d mouseU|
|00005d80| 70 00 00 50 00 0e 02 29 | 00 52 01 4f 00 62 01 6a |p..P...)|.R.O.b.j|
|00005d90| 00 00 00 00 00 00 00 00 | 00 80 00 0a 00 00 00 0d |........|........|
|00005da0| 66 74 72 53 69 7a 65 00 | 00 6f 6e 20 6d 6f 75 73 |ftrSize.|.on mous|
|00005db0| 65 55 70 0d 70 75 74 20 | 65 6d 70 74 79 20 69 6e |eUp.put |empty in|
|00005dc0| 74 6f 20 6d 65 0d 65 6e | 64 20 6d 6f 75 73 65 55 |to me.en|d mouseU|
|00005dd0| 70 00 00 28 00 10 02 05 | 00 86 01 80 00 96 01 9c |p..(....|........|
|00005de0| 00 02 00 00 00 00 00 00 | 00 80 00 0a 00 00 00 0d |........|........|
|00005df0| 75 6e 75 73 65 64 00 00 | 00 00 00 4e 00 04 02 33 |unused..|...N...3|
|00005e00| 00 27 00 02 00 3a 01 fe | 00 02 00 00 00 00 00 01 |.'...:..|........|
|00005e10| 00 00 00 0c 00 00 00 11 | 74 69 74 6c 65 00 00 6f |........|title..o|
|00005e20| 6e 20 6d 6f 75 73 65 55 | 70 0d 72 65 6e 61 6d 65 |n mouseU|p.rename|
|00005e30| 44 6f 63 75 6d 65 6e 74 | 0d 65 6e 64 20 6d 6f 75 |Document|.end mou|
|00005e40| 73 65 55 70 0d 0d 00 00 | 00 6e 00 19 01 00 00 27 |seUp....|.n.....'|
|00005e50| 00 02 00 3a 00 22 10 01 | 00 00 0f b5 00 01 00 80 |...:."..|........|
|00005e60| 00 0c 00 00 00 10 54 6f | 70 4c 65 66 74 00 00 6f |......To|pLeft..o|
|00005e70| 6e 20 6d 6f 75 73 65 55 | 70 0d 69 66 20 74 68 65 |n mouseU|p.if the|
|00005e80| 20 69 63 6f 6e 20 6f 66 | 20 6d 65 20 3d 20 34 30 | icon of| me = 40|
|00005e90| 32 32 20 74 68 65 6e 20 | 73 68 6f 77 49 6e 64 65 |22 then |showInde|
|00005ea0| 78 20 46 41 4c 53 45 0d | 65 6e 64 20 6d 6f 75 73 |x FALSE.|end mous|
|00005eb0| 65 55 70 0d 0d 00 00 ee | 00 01 02 84 00 48 00 02 |eUp.....|.....H..|
|00005ec0| 00 8b 02 7e 20 07 00 00 | 00 00 00 00 00 16 00 0a |...~ ...|........|
|00005ed0| 00 00 00 0d 68 65 61 64 | 65 72 00 00 6f 6e 20 72 |....head|er..on r|
|00005ee0| 65 74 75 72 6e 49 6e 46 | 69 65 6c 64 0d 67 6c 6f |eturnInF|ield.glo|
|00005ef0| 62 61 6c 20 75 73 65 48 | 54 4d 4c 52 65 74 75 72 |bal useH|TMLRetur|
|00005f00| 6e 0d 69 66 20 75 73 65 | 48 54 4d 4c 52 65 74 75 |n.if use|HTMLRetu|
|00005f10| 72 6e 20 3d 20 54 52 55 | 45 20 61 6e 64 20 6f 70 |rn = TRU|E and op|
|00005f20| 74 69 6f 6e 4b 65 79 28 | 29 20 3d 20 64 6f 77 6e |tionKey(|) = down|
|00005f30| 20 74 68 65 6e 20 74 79 | 70 65 20 22 3c 50 3e 22 | then ty|pe "<P>"|
|00005f40| 0d 70 61 73 73 20 72 65 | 74 75 72 6e 49 6e 46 69 |.pass re|turnInFi|
|00005f50| 65 6c 64 0d 65 6e 64 20 | 72 65 74 75 72 6e 49 6e |eld.end |returnIn|
|00005f60| 46 69 65 6c 64 0d 0d 6f | 6e 20 63 6c 6f 73 65 46 |Field..o|n closeF|
|00005f70| 69 65 6c 64 0d 73 68 6f | 77 54 65 78 74 53 74 61 |ield.sho|wTextSta|
|00005f80| 74 73 0d 70 61 73 73 20 | 63 6c 6f 73 65 46 69 65 |ts.pass |closeFie|
|00005f90| 6c 64 0d 65 6e 64 20 63 | 6c 6f 73 65 46 69 65 6c |ld.end c|loseFiel|
|00005fa0| 64 0d 00 00 00 ec 00 02 | 02 04 00 4b 00 02 01 41 |d.......|...K...A|
|00005fb0| 01 fe 20 07 00 00 00 00 | 00 00 00 16 00 0a 00 00 |.. .....|........|
|00005fc0| 00 0d 62 6f 64 79 00 00 | 6f 6e 20 72 65 74 75 72 |..body..|on retur|
|00005fd0| 6e 49 6e 46 69 65 6c 64 | 0d 67 6c 6f 62 61 6c 20 |nInField|.global |
|00005fe0| 75 73 65 48 54 4d 4c 52 | 65 74 75 72 6e 0d 69 66 |useHTMLR|eturn.if|
|00005ff0| 20 75 73 65 48 54 4d 4c | 52 65 74 75 72 6e 20 3d | useHTML|Return =|
|00006000| 20 54 52 55 45 20 61 6e | 64 20 6f 70 74 69 6f 6e | TRUE an|d option|
|00006010| 4b 65 79 28 29 20 3d 20 | 64 6f 77 6e 20 74 68 65 |Key() = |down the|
|00006020| 6e 20 74 79 70 65 20 22 | 3c 50 3e 22 0d 70 61 73 |n type "|<P>".pas|
|00006030| 73 20 72 65 74 75 72 6e | 49 6e 46 69 65 6c 64 0d |s return|InField.|
|00006040| 65 6e 64 20 72 65 74 75 | 72 6e 49 6e 46 69 65 6c |end retu|rnInFiel|
|00006050| 64 0d 0d 6f 6e 20 63 6c | 6f 73 65 46 69 65 6c 64 |d..on cl|oseField|
|00006060| 0d 73 68 6f 77 54 65 78 | 74 53 74 61 74 73 0d 70 |.showTex|tStats.p|
|00006070| 61 73 73 20 63 6c 6f 73 | 65 46 69 65 6c 64 0d 65 |ass clos|eField.e|
|00006080| 6e 64 20 63 6c 6f 73 65 | 46 69 65 6c 64 0d 00 00 |nd close|Field...|
|00006090| 00 ee 00 03 02 84 01 3e | 00 02 01 52 02 7e 20 07 |.......>|...R.~ .|
|000060a0| 00 00 00 00 00 00 00 16 | 00 0a 00 00 00 0d 66 6f |........|......fo|
|000060b0| 6f 74 65 72 00 00 6f 6e | 20 72 65 74 75 72 6e 49 |oter..on| returnI|
|000060c0| 6e 46 69 65 6c 64 0d 67 | 6c 6f 62 61 6c 20 75 73 |nField.g|lobal us|
|000060d0| 65 48 54 4d 4c 52 65 74 | 75 72 6e 0d 69 66 20 75 |eHTMLRet|urn.if u|
|000060e0| 73 65 48 54 4d 4c 52 65 | 74 75 72 6e 20 3d 20 54 |seHTMLRe|turn = T|
|000060f0| 52 55 45 20 61 6e 64 20 | 6f 70 74 69 6f 6e 4b 65 |RUE and |optionKe|
|00006100| 79 28 29 20 3d 20 64 6f | 77 6e 20 74 68 65 6e 20 |y() = do|wn then |
|00006110| 74 79 70 65 20 22 3c 50 | 3e 22 0d 70 61 73 73 20 |type "<P|>".pass |
|00006120| 72 65 74 75 72 6e 49 6e | 46 69 65 6c 64 0d 65 6e |returnIn|Field.en|
|00006130| 64 20 72 65 74 75 72 6e | 49 6e 46 69 65 6c 64 0d |d return|InField.|
|00006140| 0d 6f 6e 20 63 6c 6f 73 | 65 46 69 65 6c 64 0d 73 |.on clos|eField.s|
|00006150| 68 6f 77 54 65 78 74 53 | 74 61 74 73 0d 70 61 73 |howTextS|tats.pas|
|00006160| 73 20 63 6c 6f 73 65 46 | 69 65 6c 64 0d 65 6e 64 |s closeF|ield.end|
|00006170| 20 63 6c 6f 73 65 46 69 | 65 6c 64 0d 00 00 00 68 | closeFi|eld....h|
|00006180| 00 05 02 25 00 39 00 02 | 00 49 01 fe 00 00 00 00 |...%.9..|.I......|
|00006190| 00 00 ff ff 00 80 00 0a | 00 00 00 0d 63 68 61 72 |........|....char|
|000061a0| 61 63 74 65 72 43 6f 75 | 6e 74 00 00 6f 6e 20 6d |acterCou|nt..on m|
|000061b0| 6f 75 73 65 55 70 0d 70 | 75 74 20 65 6d 70 74 79 |ouseUp.p|ut empty|
|000061c0| 20 69 6e 74 6f 20 6d 65 | 0d 63 68 61 72 61 63 74 | into me|.charact|
|000061d0| 65 72 43 6f 75 6e 74 0d | 65 6e 64 20 6d 6f 75 73 |erCount.|end mous|
|000061e0| 65 55 70 0d 0d 00 00 48 | 00 06 02 09 01 43 00 02 |eUp....H|.....C..|
|000061f0| 01 54 01 fe 00 02 00 00 | 00 00 00 00 00 80 00 0a |.T......|........|
|00006200| 00 00 00 0e 73 74 61 74 | 75 73 00 00 6f 6e 20 6d |....stat|us..on m|
|00006210| 6f 75 73 65 55 70 0d 73 | 68 6f 77 41 62 6f 75 74 |ouseUp.s|howAbout|
|00006220| 0d 65 6e 64 20 6d 6f 75 | 73 65 55 70 00 00 01 48 |.end mou|seUp...H|
|00006230| 00 07 02 39 01 43 01 67 | 01 54 01 9d 00 02 00 00 |...9.C.g|.T......|
|00006240| 00 00 00 01 00 80 00 0a | 00 00 00 0e 48 65 61 64 |........|....Head|
|00006250| 69 6e 67 4e 75 6d 62 65 | 72 00 00 6f 6e 20 6d 6f |ingNumbe|r..on mo|
|00006260| 75 73 65 44 6f 77 6e 0d | 67 6c 6f 62 61 6c 20 68 |useDown.|global h|
|00006270| 65 61 64 69 6e 67 4e 75 | 6d 62 65 72 0d 69 66 20 |eadingNu|mber.if |
|00006280| 68 65 61 64 69 6e 67 4e | 75 6d 62 65 72 20 69 73 |headingN|umber is|
|00006290| 20 65 6d 70 74 79 20 74 | 68 65 6e 20 70 75 74 20 | empty t|hen put |
|000062a0| 31 20 69 6e 74 6f 20 68 | 65 61 64 69 6e 67 4e 75 |1 into h|eadingNu|
|000062b0| 6d 62 65 72 0d 70 75 74 | 20 22 48 31 3b 48 32 3b |mber.put| "H1;H2;|
|000062c0| 48 33 3b 48 34 3b 48 35 | 3b 48 36 22 20 69 6e 74 |H3;H4;H5|;H6" int|
|000062d0| 6f 20 6d 0d 67 65 74 20 | 74 68 65 20 6c 6f 63 20 |o m.get |the loc |
|000062e0| 6f 66 20 6d 65 0d 67 65 | 74 20 48 50 6f 70 75 70 |of me.ge|t HPopup|
|000062f0| 4d 65 6e 75 28 6d 2c 68 | 65 61 64 69 6e 67 4e 75 |Menu(m,h|eadingNu|
|00006300| 6d 62 65 72 2c 69 74 65 | 6d 20 32 20 6f 66 20 69 |mber,ite|m 2 of i|
|00006310| 74 20 2d 20 37 2c 69 74 | 65 6d 20 31 20 6f 66 20 |t - 7,it|em 1 of |
|00006320| 69 74 20 2b 20 31 32 29 | 0d 69 66 20 69 74 65 6d |it + 12)|.if item|
|00006330| 20 31 20 6f 66 20 69 74 | 20 ad 20 65 6d 70 74 79 | 1 of it| . empty|
|00006340| 20 74 68 65 6e 20 73 65 | 74 48 65 61 64 69 6e 67 | then se|tHeading|
|00006350| 20 63 68 61 72 20 32 20 | 6f 66 20 69 74 65 6d 20 | char 2 |of item |
|00006360| 31 20 6f 66 20 69 74 0d | 65 6e 64 20 6d 6f 75 73 |1 of it.|end mous|
|00006370| 65 44 6f 77 6e 00 00 4a | 00 08 02 21 01 43 01 9c |eDown..J|...!.C..|
|00006380| 01 54 01 ee 00 02 00 00 | 00 00 ff ff 00 80 00 0a |.T......|........|
|00006390| 00 00 00 0e 70 61 67 65 | 00 00 6f 6e 20 6d 6f 75 |....page|..on mou|
|000063a0| 73 65 55 70 0d 73 65 74 | 50 61 67 65 4e 75 6d 62 |seUp.set|PageNumb|
|000063b0| 65 72 0d 65 6e 64 20 6d | 6f 75 73 65 55 70 0d 00 |er.end m|ouseUp..|
|000063c0| 00 2a 00 0a 02 35 00 02 | 01 2f 00 14 01 ea 00 00 |.*...5..|./......|
|000063d0| 00 00 00 00 ff ff 00 80 | 00 0a 28 00 00 0d 6c 61 |........|..(...la|
|000063e0| 73 74 53 61 76 65 64 00 | 00 00 02 06 00 15 01 00 |stSaved.|........|
|000063f0| 00 15 00 02 00 26 00 14 | 30 00 00 00 10 1e 00 00 |.....&..|0.......|
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.